quant1x 0.7.5

Cross-language standard library for quantitative trading
Documentation
#!/usr/bin/env python
# coding=utf-8
"""The setup script."""
import setuptools

from quant1x.version import project_version

latest, author = project_version()

__app_version__ = latest
__app_author__ = author


def parse_requirements(filename):
    line_iter = (line.strip() for line in open(filename))
    return [line for line in line_iter if line and not line.startswith("#")]


# 加载README信息
with open("README.md", encoding="utf-8") as readme_file:
    readme = readme_file.read()

# 加载ChangeLog
with open("CHANGELOG.md", encoding="utf-8") as history_file:
    history = history_file.read()

requirements = parse_requirements("requirements.txt")
test_requirements = requirements

setuptools.setup(
    name="quant1x",
    description="Quant1X量化研究",
    author_email="wangfengxy@sina.cn",
    url="https://gitee.com/quant1x/quant1x",
    version=__app_version__,
    author=__app_author__,
    long_description=readme,
    long_description_content_type='text/markdown',
    packages=setuptools.find_packages(include=["quant1x", "quant1x.*"]),
    include_package_data=True,
    install_requires=requirements,
    license="Apache 2.0 license",
    zip_safe=False,
    keywords="quant1x python",
    entry_points={
        "console_scripts": [
            # "quant1x=quant1x.__main__:entry",
            # "quant1x-qmt=quant1x.trader.qmt:main",
        ]
    },
    classifiers=[
        "Development Status :: 2 - Pre-Alpha",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Natural Language :: English",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: 3.10",
        "Programming Language :: Python :: 3.11",
        "Programming Language :: Python :: 3.12",
        "Programming Language :: Python :: 3.13",
        "Programming Language :: Python :: 3.14",
    ],
    data_files=[
        # ('xtquant', ['xtquant/xtdata.ini', 'xtquant/xtdata.log4cxx']),
    ],
    package_data={
        '': ['*.dll', '*.pyd', '*.ini', '*.log4cxx'],
    },
    test_suite="tests",
    tests_require=test_requirements,
    setup_requires=requirements,
)