2018-01-20 18:19:15 +00:00
|
|
|
#!/usr/bin/env python
|
2018-11-12 05:29:43 +00:00
|
|
|
|
2020-06-16 03:13:37 +00:00
|
|
|
# piker: trading gear for hackers
|
2020-11-06 17:23:14 +00:00
|
|
|
# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0)
|
2018-11-12 05:29:43 +00:00
|
|
|
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
2020-06-16 03:13:37 +00:00
|
|
|
# it under the terms of the GNU Affero General Public License as published by
|
2018-11-12 05:29:43 +00:00
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2020-06-16 03:13:37 +00:00
|
|
|
# GNU Affero General Public License for more details.
|
2018-11-12 05:29:43 +00:00
|
|
|
|
2020-06-16 03:13:37 +00:00
|
|
|
# You should have received a copy of the GNU Affero General Public License
|
|
|
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
2018-11-12 05:29:43 +00:00
|
|
|
|
2020-09-12 15:52:59 +00:00
|
|
|
from setuptools import setup, find_packages
|
2018-01-20 18:19:15 +00:00
|
|
|
|
|
|
|
with open('README.rst', encoding='utf-8') as f:
|
|
|
|
readme = f.read()
|
|
|
|
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name="piker",
|
2020-06-16 03:13:37 +00:00
|
|
|
version='0.1.0.alpha0.dev0',
|
|
|
|
description='trading gear for hackers.',
|
2018-01-20 18:19:15 +00:00
|
|
|
long_description=readme,
|
2020-06-16 03:13:37 +00:00
|
|
|
license='AGPLv3',
|
2018-01-20 18:19:15 +00:00
|
|
|
author='Tyler Goodlet',
|
|
|
|
maintainer='Tyler Goodlet',
|
|
|
|
url='https://github.com/pikers/piker',
|
|
|
|
platforms=['linux'],
|
2020-09-12 15:52:59 +00:00
|
|
|
packages=find_packages(),
|
2018-01-20 18:19:15 +00:00
|
|
|
entry_points={
|
|
|
|
'console_scripts': [
|
2018-02-09 08:29:10 +00:00
|
|
|
'piker = piker.cli:cli',
|
2018-04-16 06:13:59 +00:00
|
|
|
'pikerd = piker.cli:pikerd',
|
2018-01-20 18:19:15 +00:00
|
|
|
]
|
|
|
|
},
|
2018-01-26 01:54:13 +00:00
|
|
|
install_requires=[
|
2021-05-16 21:53:54 +00:00
|
|
|
'toml',
|
2020-05-26 18:43:18 +00:00
|
|
|
'click',
|
|
|
|
'colorlog',
|
|
|
|
'attrs',
|
|
|
|
'pygments',
|
2020-09-08 13:59:54 +00:00
|
|
|
'colorama', # numba traceback coloring
|
2021-02-06 19:23:27 +00:00
|
|
|
'pydantic', # structured data
|
2020-05-26 18:43:18 +00:00
|
|
|
|
2020-07-08 19:42:32 +00:00
|
|
|
# async
|
|
|
|
'trio',
|
2020-08-02 02:24:51 +00:00
|
|
|
'trio-websocket',
|
2020-07-08 19:42:32 +00:00
|
|
|
# 'tractor', # from github currently
|
|
|
|
'async_generator',
|
|
|
|
|
2020-05-26 18:43:18 +00:00
|
|
|
# brokers
|
2020-09-12 15:52:59 +00:00
|
|
|
'asks==2.4.8',
|
2020-05-26 18:43:18 +00:00
|
|
|
'ib_insync',
|
|
|
|
|
|
|
|
# numerics
|
|
|
|
'arrow', # better datetimes
|
2021-01-14 17:56:47 +00:00
|
|
|
'bidict', # 2 way map
|
2020-05-26 18:43:18 +00:00
|
|
|
'cython',
|
|
|
|
'numpy',
|
2020-09-12 15:52:59 +00:00
|
|
|
'numba',
|
2020-05-26 18:43:18 +00:00
|
|
|
'pandas',
|
2020-07-08 19:42:32 +00:00
|
|
|
'msgpack-numpy',
|
|
|
|
|
|
|
|
# UI
|
|
|
|
'PyQt5',
|
|
|
|
'pyqtgraph',
|
2021-05-16 21:53:54 +00:00
|
|
|
'qdarkstyle==2.8.1',
|
2020-05-26 18:43:18 +00:00
|
|
|
|
|
|
|
# tsdbs
|
|
|
|
'pymarketstore',
|
2018-02-12 15:55:04 +00:00
|
|
|
#'kivy', see requirement.txt; using a custom branch atm
|
2018-01-26 01:54:13 +00:00
|
|
|
],
|
2018-01-20 18:19:15 +00:00
|
|
|
tests_require=['pytest'],
|
2018-11-12 04:08:01 +00:00
|
|
|
python_requires=">=3.7", # literally for ``datetime.datetime.fromisoformat``...
|
2018-01-20 18:19:15 +00:00
|
|
|
keywords=["async", "trading", "finance", "quant", "charting"],
|
|
|
|
classifiers=[
|
|
|
|
'Development Status :: 3 - Alpha',
|
2020-07-08 19:42:32 +00:00
|
|
|
'License :: OSI Approved :: ',
|
2018-01-20 18:19:15 +00:00
|
|
|
'Operating System :: POSIX :: Linux',
|
|
|
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
|
|
"Programming Language :: Python :: 3 :: Only",
|
2020-07-08 19:42:32 +00:00
|
|
|
"Programming Language :: Python :: 3.7",
|
2018-01-20 18:19:15 +00:00
|
|
|
'Intended Audience :: Financial and Insurance Industry',
|
|
|
|
'Intended Audience :: Science/Research',
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'Intended Audience :: Education',
|
|
|
|
],
|
|
|
|
)
|