<reponame>yuzhucu/dHydra
# -*- coding: utf8 -*-
# import dHydra
import codecs
import os
import sys

try:
    from setuptools import setup
except:
    from distutils.core import setup
"""
打包的用的setup必须引入，
"""


def read(fname):
    return codecs.open(os.path.join(os.path.dirname(__file__), fname)).read()

NAME = "dHydra"
"""
名字，一般放你包的名字即可
"""

PACKAGES = ["dHydra",   "dHydra.core",   "dHydra.config"]

DESCRIPTION = "A framework for saving & data mining Chinese Stocks"

LONG_DESCRIPTION = ""
"""
参见read方法说明
"""

KEYWORDS = ("Finance", "Chinese Stock", "Quant", "Framework")
"""
关于当前包的一些关键字，方便PyPI进行分类。
"""

AUTHOR = "<NAME>"

AUTHOR_EMAIL = "<EMAIL>"

URL = "http://dHydra.org"

VERSION = "0.13.3"

LICENSE = "Apache Software License"

setup(
    name=NAME,
    version=VERSION,
    description=DESCRIPTION,
    long_description=LONG_DESCRIPTION,
    classifiers=[
        'License :: OSI Approved :: Apache Software License',
        'Programming Language :: Python',
        'Intended Audience :: Financial and Insurance Industry',
        'Operating System :: OS Independent'
    ],
    install_requires=[
        "requests",
        "numpy",
        "pandas",
        "pymongo",
        "websockets",
        "rsa",
        "ntplib",
        "redis",
        "tornado",
        "click",
        "hiredis"
    ],
    entry_points='''
    [console_scripts]
    hail=dHydra.main:hail
    start=dHydra.console:start
    start_worker=dHydra.console:start
    stop=dHydra.console:terminate
    stop_worker=dHydra.console:terminate
    terminate=dHydra.console:terminate
    new=dHydra.auto:new_worker
    ''',
    keywords=KEYWORDS,
    author=AUTHOR,
    author_email=AUTHOR_EMAIL,
    url=URL,
    license=LICENSE,
    packages=PACKAGES,
    include_package_data=True,
    zip_safe=True
)

# -*- coding: utf8 -*-
# import dHydra
import codecs
import os
import sys

try:
    from setuptools import setup
except:
    from distutils.core import setup
"""
打包的用的setup必须引入，
"""


def read(fname):
    return codecs.open(os.path.join(os.path.dirname(__file__), fname)).read()

NAME = "dHydra"
"""
名字，一般放你包的名字即可
"""

PACKAGES = ["dHydra",   "dHydra.core",   "dHydra.config"]

DESCRIPTION = "A framework for saving & data mining Chinese Stocks"

LONG_DESCRIPTION = ""
"""
参见read方法说明
"""

KEYWORDS = ("Finance", "Chinese Stock", "Quant", "Framework")
"""
关于当前包的一些关键字，方便PyPI进行分类。
"""

AUTHOR = "<NAME>"

AUTHOR_EMAIL = "<EMAIL>"

URL = "http://dHydra.org"

VERSION = "0.13.3"

LICENSE = "Apache Software License"

setup(
    name=NAME,
    version=VERSION,
    description=DESCRIPTION,
    long_description=LONG_DESCRIPTION,
    classifiers=[
        'License :: OSI Approved :: Apache Software License',
        'Programming Language :: Python',
        'Intended Audience :: Financial and Insurance Industry',
        'Operating System :: OS Independent'
    ],
    install_requires=[
        "requests",
        "numpy",
        "pandas",
        "pymongo",
        "websockets",
        "rsa",
        "ntplib",
        "redis",
        "tornado",
        "click",
        "hiredis"
    ],
    entry_points='''
    [console_scripts]
    hail=dHydra.main:hail
    start=dHydra.console:start
    start_worker=dHydra.console:start
    stop=dHydra.console:terminate
    stop_worker=dHydra.console:terminate
    terminate=dHydra.console:terminate
    new=dHydra.auto:new_worker
    ''',
    keywords=KEYWORDS,
    author=AUTHOR,
    author_email=AUTHOR_EMAIL,
    url=URL,
    license=LICENSE,
    packages=PACKAGES,
    include_package_data=True,
    zip_safe=True
)
# -*- coding: utf8 -*- # import dHydra 打包的用的setup必须引入， 名字，一般放你包的名字即可 参见read方法说明 关于当前包的一些关键字，方便PyPI进行分类。 [console_scripts]     hail=dHydra.main:hail     start=dHydra.console:start     start_worker=dHydra.console:start     stop=dHydra.console:terminate     stop_worker=dHydra.console:terminate     terminate=dHydra.console:terminate     new=dHydra.auto:new_worker