-
Notifications
You must be signed in to change notification settings - Fork 26
/
setup.py
53 lines (47 loc) · 2.11 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# pip install setuptools twine
# python setup.py sdist bdist_wheel
# twine upload --repository testpypi dist/*
# 'backtrader @ git+https://github.com/WISEPLAT/backtrader.git' - was removed from install_requires, as it can't publish
# twine upload --repository pypi dist/*
import os.path
import codecs # To use a consistent encoding
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the relevant file
with codecs.open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(name='backtrader_moexalgo',
version='1.0.9',
author='wiseplat',
author_email='[email protected]',
license='MIT License',
description='MOEX API AlgoPack integration with Backtrader',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/WISEPLAT/backtrader_moexalgo',
packages=find_packages(exclude=['docs', 'examples', 'ConfigMoexalgo']),
install_requires=['moexalgo', 'pandas', 'matplotlib', 'numpy', 'backtrader', 'requests', 'websockets'],
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 5 - Production/Stable',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Intended Audience :: Financial and Insurance Industry',
# Indicate which Topics are covered by the package
'Topic :: Software Development',
'Topic :: Office/Business :: Financial',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent'
],
keywords=['trading', 'development'],
project_urls={
'Documentation': 'https://github.com/WISEPLAT/backtrader_moexalgo/blob/master/README.md'
},
python_requires='>=3.7'
)