Skip to content

Commit

Permalink
0.9.61 更新 setup 配置
Browse files Browse the repository at this point in the history
  • Loading branch information
zengbin93 committed Nov 29, 2024
1 parent 8f17c56 commit b3b3ab5
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# coding: utf-8
import czsc
from os import path
from setuptools import setup, find_packages, Extension
from Cython.Build import cythonize
from setuptools import setup, find_packages

here = path.abspath(path.dirname(__file__))

Expand All @@ -12,25 +11,19 @@
with open(path.join(here, "requirements.txt"), encoding="utf-8") as f:
install_requires = f.read().strip().split("\n")

extensions = [
Extension("czsc", ["czsc/*.py"]),
]


setup(
name="czsc",
version=czsc.__version__,
author=czsc.__author__,
author_email=czsc.__email__,
keywords=["缠论", "技术分析", "A股", "期货", "缠中说禅"],
keywords=["缠论", "技术分析", "A股", "期货", "缠中说禅", "量化", "QUANT", "程序化交易"],
description="缠中说禅技术分析工具",
long_description=long_description,
long_description_content_type="text/markdown",
license="Apache Software License",
url="https://github.com/waditu/czsc",
packages=find_packages(include=["czsc", "czsc.*"]),
include_package_data=True,
ext_modules=cythonize(extensions),
install_requires=install_requires,
package_data={"": ["utils/china_calendar.feather", "utils/minutes_split.feather"]},
classifiers=[
Expand All @@ -48,5 +41,3 @@
],
},
)

# 打包 pyd:python setup.py build_ext --inplace

0 comments on commit b3b3ab5

Please sign in to comment.