forked from iniself/noba
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
43 lines (37 loc) · 1.44 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
import setuptools
from distutils.util import convert_path
with open("README.md", "r", encoding='utf-8') as fh:
long_description = fh.read()
main_ns = {}
ver_path = convert_path('backtrader_bokeh/version.py')
with open(ver_path, encoding='utf-8') as ver_file:
exec(ver_file.read(), main_ns)
setuptools.setup(
name='backtrader_bokeh',
version=main_ns['__version__'],
description='Plotting package for Backtrader (Bokeh)',
python_requires='>=3.6',
author='Metaer',
author_email='[email protected]',
long_description=long_description,
long_description_content_type="text/markdown",
license='GPLv3+',
url="https://github.com/iniself/backtrader_bokeh",
project_urls={
"Bug Tracker": "https://github.com/iniself/backtrader_bokeh/issues",
"Documentation": "https://github.com/iniself/backtrader_bokeh/wiki",
"Source Code": "https://github.com/iniself/backtrader_bokeh",
"Demos": "https://github.com/iniself/backtrader_bokeh/tree/gh-pages",
},
# What does your project relate to?
keywords=['trading', 'development', 'plotting', 'backtrader', 'Bokeh'],
packages=setuptools.find_packages(),
package_data={'backtrader_bokeh': ['config.default.json', 'templates/*.j2', 'templates/js/*.js']},
install_requires=[
'backtrader',
'bokeh',
'jinja2',
'pandas',
'matplotlib~=3.2.2',
],
)