-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
47 lines (40 loc) · 1.38 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
#!/usr/bin/env python
# coding: utf-8
import os
import codecs
from setuptools import setup, find_packages
import ibclient
def parse_requirements(filename):
with open(filename) as f:
required = f.read().splitlines()
return required
long_desc = """
IBClient
===============
A Python SDK to access market data through Interactive Brokers TWS
"""
setup(
name='ibclient',
version=ibclient.__version__,
description='A Python SDK to access market data through Interactive Brokers TWS',
long_description=long_desc,
author='Jin Xu',
author_email='[email protected]',
url='https://github.com/chrjxj/ibclient',
license='BSD',
keywords=['Interactive Brokers', 'TWS', 'IB', 'Stock', 'finance'],
classifiers=[
'Development Status :: 1 - Alpha',
'License :: OSI Approved :: BSD License'
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
packages=find_packages(),
install_requires=parse_requirements('requirements.txt'),
tests_require=parse_requirements('requirements.txt'),
)