-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
44 lines (39 loc) · 1.26 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from distutils.core import setup
from setuptools import find_packages
import versioneer
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
if os.path.exists('README.md'):
long_description = open('README.md').read()
else:
long_description=''
install_reqs = [e.strip() for e in open("requirements.txt").readlines()]
setup(
name='ib_dl',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author='Tibor Kiss',
author_email='[email protected]',
description='Historical market data downloader using Interactive Brokers TWS',
long_description=long_description,
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.6',
'Topic :: Office/Business :: Financial :: Investment'],
packages=find_packages(),
url='https://github.com/tibkiss/ib_dl',
license='Apache License, Version 2.0',
install_requires=install_reqs,
python_requires='>=3.6',
entry_points={
'console_scripts': [
'ib-dl=ib_dl.download:main',
]
}
)