forked from erdewit/ib_insync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (39 loc) · 1.41 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
"""IB-insync setup script."""
import sys
from pathlib import Path
from setuptools import setup
if sys.version_info < (3, 6, 0):
raise RuntimeError("ib_insync requires Python 3.6 or higher")
here = Path(__file__).parent.resolve()
__version__ = None
with open(here / 'ib_insync/version.py') as f:
exec(f.read())
with open(here / 'README.rst', encoding='utf-8') as f:
long_description = f.read()
setup(
name='ib_insync',
version=__version__,
description='Python sync/async framework for Interactive Brokers API',
long_description=long_description,
url='https://github.com/erdewit/ib_insync',
author='Ewald R. de Wit',
author_email='[email protected]',
license='BSD',
python_requires='>=3.6',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Office/Business :: Financial :: Investment',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3 :: Only',
],
keywords='ibapi tws asyncio jupyter interactive brokers async',
packages=['ib_insync'],
package_data={'ib_insync': ['py.typed']},
install_requires=['eventkit', 'nest_asyncio'],
setup_requires=['flake8']
)