代码拉取完成,页面将自动刷新
同步操作将从 Gitee 极速下载/TQSDKTQSDK 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# -*- coding: utf-8 -*-
__author__ = 'yangyang'
import setuptools
# from py-spy/setup.py
try:
from wheel.bdist_wheel import bdist_wheel as _bdist_wheel, get_platform
class bdist_wheel(_bdist_wheel):
def finalize_options(self):
_bdist_wheel.finalize_options(self)
# Mark us as not a pure python package (we have platform specific ctpse lib)
if self.plat_name != "any":
self.root_is_pure = False
plat_name = (self.plat_name or get_platform()).replace('-', '_').replace('.', '_')
if plat_name == "linux_x86_64" or plat_name == "manylinux1_x86_64":
self.distribution.package_data[""] = ["ctpse/LinuxDataCollect64.so"]
elif plat_name == "win32":
self.distribution.package_data[""] = ["ctpse/WinDataCollect32.dll"]
elif plat_name == "win_amd64":
self.distribution.package_data[""] = ["ctpse/WinDataCollect64.dll"]
def get_tag(self):
# this set's us up to build generic wheels.
python, abi, plat = _bdist_wheel.get_tag(self)
# We don't contain any python source
python, abi = 'py3', 'none'
return python, abi, plat
except ImportError:
bdist_wheel = None
with open("README.md", mode="r", encoding='utf-8') as fh:
long_description = fh.read()
setuptools.setup(
name='tqsdk',
version="1.8.2",
description='TianQin SDK',
author='TianQin',
author_email='tianqincn@gmail.com',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://www.shinnytech.com/tqsdk',
packages=setuptools.find_packages(exclude=["tqsdk.test", "tqsdk.tq", "tqsdk.tq.*", "tqsdk.demo.tq", "tqsdk.demo.tq.*"]),
zip_safe=False,
python_requires='>=3.6',
install_requires=["websockets>=8.1", "requests", "numpy", "pandas>=0.24.0", "scipy", "simplejson", "aiohttp", "certifi", "pyjwt"],
cmdclass={'bdist_wheel': bdist_wheel},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
include_package_data=True
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。