-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
48 lines (42 loc) · 1.21 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
#!/usr/bin/env python3
import os
from setuptools import setup, find_packages
package = "bktest"
about = {}
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, package, '__version__.py')) as f:
exec(f.read(), about)
with open('requirements.txt') as fd:
requirements = fd.read().splitlines()
with open('README.md') as fd:
readme = fd.read()
setup(
name=about['__title__'],
description=about['__description__'],
long_description=readme,
long_description_content_type='text/markdown',
version=about['__version__'],
author=about['__author__'],
author_email=about['__author_email__'],
url=about['__url__'],
packages=find_packages(),
package_data={
package: [
"demo-project/*",
"demo-project/.*",
]
},
include_package_data=True,
python_requires=">=3",
install_requires=requirements,
zip_safe=False,
entry_points={
'console_scripts': ['bktest=bktest.main:cli'],
'console_scripts': ['backtest=bktest.main:cli'],
},
classifiers=[
'Intended Audience :: Developers',
'Programming Language :: Python :: 3.7',
],
keywords='package development template'
)