piker/setup.py

115 lines
3.1 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',
'tomli', # fastest pure py reader
2020-05-26 18:43:18 +00:00
'click',
'colorlog',
'attrs',
'pygments',
2020-09-08 13:59:54 +00:00
'colorama', # numba traceback coloring
2022-07-09 17:10:09 +00:00
'msgspec', # performant IPC messaging and structs
2023-02-12 19:07:42 +00:00
'protobuf',
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
'async_generator',
2022-05-11 17:19:47 +00:00
# from github currently (see requirements.txt)
# 'trimeter', # not released yet..
# 'tractor',
# asyncvnc,
# 'cryptofeed',
2022-05-11 17:19:47 +00:00
2020-05-26 18:43:18 +00:00
# brokers
2023-01-16 19:29:06 +00:00
'asks',
2020-05-26 18:43:18 +00:00
'ib_insync',
# numerics
2022-04-16 17:18:02 +00:00
'pendulum', # easier 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-07-08 19:42:32 +00:00
# UI
'PyQt5',
# 'pyqtgraph', from our fork see reqs.txt
'qdarkstyle >= 3.0.2', # themeing
'fuzzywuzzy[speedup]', # fuzzy search
2021-05-25 12:50:48 +00:00
# tsdbs
# anyio-marketstore # from gh see reqs.txt
2018-01-26 01:54:13 +00:00
],
2022-04-30 17:24:12 +00:00
extras_require={
'tsdb': [
'docker',
],
'es': [
'docker',
'elasticsearch'
]
2022-04-30 17:24:12 +00:00
},
2018-01-20 18:19:15 +00:00
tests_require=['pytest'],
python_requires=">=3.10",
keywords=[
"async",
"trading",
"finance",
"quant",
"charting",
],
2018-01-20 18:19:15 +00:00
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.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',
],
)