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