forked from matplotlib/mplfinance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (36 loc) · 1.67 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
from setuptools import setup
from setuptools import find_packages
pkg_location = 'src'
import sys
# Never sys.path.insert(0, ). Rather sys.path.insert(1, ) because
# third-party code may rely on sys.path documentation conformance:
# As initialized upon program startup, the first item of this list, path[0], is
# the directory containing the script that was used to invoke the Python interpreter.
###sys.path.insert(1,pkg_location)
# for safety, make sure this: is the only import after changing sys.path
###from mplfinance import __version__
__version__='0.11.0a0' # test hard-coded so avoid sys.path.insert (maybe that's breaking travis checks).
with open('README.md') as f:
long_description = f.read()
setup(name='mplfinance',
version=__version__,
author='MPL Developers',
author_email='[email protected]',
py_modules=['mplfinance'],
description='Utilities for the visualization, and visual analysis, of financial data',
long_description=long_description,
long_description_content_type='text/markdown; charset=UTF-8',
url='http:https://github.com/matplotlib/mplfinance',
platforms='Cross platform (Linux, Mac OSX, Windows)',
install_requires=['matplotlib','pandas'],
license="BSD-style",
package_dir={'': pkg_location},
packages=find_packages(where=pkg_location),
classifiers=['Development Status :: 3 - Alpha',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
keywords='finance',
)