|
1 | | -from setuptools import setup, find_packages |
| 1 | +from setuptools import setup |
2 | 2 |
|
3 | | -with open('README.md', 'r', encoding="utf-8", errors='ignore') as fh: |
4 | | - long_description = fh.read() |
5 | | - |
6 | | -version = {} |
7 | | -with open("vectorbt/_version.py", encoding="utf-8") as fp: |
8 | | - exec(fp.read(), version) |
9 | | - |
10 | | -setup( |
11 | | - name='vectorbt', |
12 | | - version=version['__version__'], |
13 | | - description='Python library for backtesting and analyzing trading strategies at scale', |
14 | | - author='Oleg Polakow', |
15 | | - author_email='olegpolakow@vectorbt.pro', |
16 | | - long_description=long_description, |
17 | | - long_description_content_type='text/markdown', |
18 | | - url='https://github.com/polakowo/vectorbt', |
19 | | - packages=find_packages(), |
20 | | - package_data={ |
21 | | - 'vectorbt': ['templates/*.json'] |
22 | | - }, |
23 | | - install_requires=[ |
24 | | - 'numpy>=1.16.5', |
25 | | - 'pandas', |
26 | | - 'scipy', |
27 | | - 'matplotlib', |
28 | | - 'plotly>=4.12.0', |
29 | | - 'ipywidgets>=7.0.0', |
30 | | - 'anywidget', |
31 | | - "numba>=0.53.1, <0.57.0; python_version<'3.10'", |
32 | | - "numba>=0.56.0, <0.57.0; python_version>='3.10' and python_version<'3.11'", |
33 | | - "numba>=0.57.0; python_version>='3.11'", |
34 | | - 'dill', |
35 | | - 'tqdm', |
36 | | - 'dateparser', |
37 | | - 'imageio', |
38 | | - 'scikit-learn', |
39 | | - 'schedule', |
40 | | - 'requests', |
41 | | - 'pytz', |
42 | | - 'typing_extensions; python_version < "3.8"', |
43 | | - 'mypy_extensions' |
44 | | - ], |
45 | | - extras_require={ |
46 | | - 'full': [ |
47 | | - 'yfinance>=0.2.22', |
48 | | - 'python-binance', |
49 | | - 'ccxt>=4.0.14', |
50 | | - 'alpaca-py', |
51 | | - 'ray>=1.4.1', |
52 | | - 'ta', |
53 | | - 'pandas-ta-classic', |
54 | | - 'TA-Lib', |
55 | | - 'python-telegram-bot>=13.4,<20.0', # LGPLv3 |
56 | | - 'quantstats>=0.0.37' |
57 | | - ], |
58 | | - 'full-no-talib': [ |
59 | | - 'yfinance>=0.2.22', |
60 | | - 'python-binance', |
61 | | - 'ccxt>=4.0.14', |
62 | | - 'alpaca-py', |
63 | | - 'ray>=1.4.1', |
64 | | - 'ta', |
65 | | - 'pandas-ta-classic', |
66 | | - 'python-telegram-bot>=13.4,<20.0', # LGPLv3 |
67 | | - 'quantstats>=0.0.37' |
68 | | - ], |
69 | | - 'cov': [ |
70 | | - 'pytest', |
71 | | - 'pytest-cov', |
72 | | - 'codecov' |
73 | | - ] |
74 | | - }, |
75 | | - python_requires='>=3.6', |
76 | | - license='Apache 2.0 with Commons Clause', |
77 | | - classifiers=[ |
78 | | - 'Development Status :: 5 - Production/Stable', |
79 | | - 'Intended Audience :: Developers', |
80 | | - 'Intended Audience :: Financial and Insurance Industry', |
81 | | - 'License :: Free for non-commercial use', |
82 | | - 'Programming Language :: Python :: 3.6', |
83 | | - 'Programming Language :: Python :: 3.7', |
84 | | - 'Programming Language :: Python :: 3.8', |
85 | | - 'Programming Language :: Python :: 3.9', |
86 | | - 'Programming Language :: Python :: 3.10', |
87 | | - 'Programming Language :: Python :: 3.11', |
88 | | - 'Programming Language :: Python :: 3.12', |
89 | | - 'Programming Language :: Python :: 3.13', |
90 | | - 'Operating System :: OS Independent', |
91 | | - 'Intended Audience :: Science/Research', |
92 | | - 'Topic :: Software Development', |
93 | | - 'Topic :: Office/Business :: Financial', |
94 | | - 'Topic :: Scientific/Engineering :: Information Analysis' |
95 | | - ], |
96 | | -) |
| 3 | +setup() |
0 commit comments