piker/setup.py

97 lines
2.8 KiB
Python
Raw Permalink Normal View History

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
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'],
packages=find_packages(),
2018-01-20 18:19:15 +00:00
entry_points={
'console_scripts': [
'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=[
'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
'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
'msgspec', # performant IPC messaging
2020-07-08 19:42:32 +00:00
'async_generator',
2020-05-26 18:43:18 +00:00
# brokers
'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',
'numba',
2020-05-26 18:43:18 +00:00
'pandas',
2020-07-08 19:42:32 +00:00
# UI
'PyQt5',
'pyqtgraph',
'qdarkstyle >= 3.0.2',
2021-05-25 12:50:48 +00:00
# fuzzy search
'fuzzywuzzy[speedup]',
# tsdbs
'pymarketstore',
2018-01-26 01:54:13 +00:00
],
2018-01-20 18:19:15 +00:00
tests_require=['pytest'],
python_requires=">=3.9", # 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",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
2018-01-20 18:19:15 +00:00
'Intended Audience :: Financial and Insurance Industry',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Intended Audience :: Education',
],
)