From 037597ee36d2c11474b686aef98050bb810571f1 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sat, 20 Jan 2018 13:19:15 -0500 Subject: [PATCH] Initial packaging --- README.md => README.rst | 3 ++- setup.py | 55 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+), 1 deletion(-) rename README.md => README.rst (58%) create mode 100755 setup.py diff --git a/README.md b/README.rst similarity index 58% rename from README.md rename to README.rst index c27c772c..5b2b98f8 100644 --- a/README.md +++ b/README.rst @@ -1,2 +1,3 @@ -# piker +piker +------ Destroy all suits diff --git a/setup.py b/setup.py new file mode 100755 index 00000000..b022e0c6 --- /dev/null +++ b/setup.py @@ -0,0 +1,55 @@ +#!/usr/bin/env python +# +# Copyright 2018 Tyler Goodlet +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +from setuptools import setup + +with open('README.rst', encoding='utf-8') as f: + readme = f.read() + + +setup( + name="piker", + version='0.1.0.alpha0', + description='Trading gear for hackers, scientists, quants and underpants warriors.', + long_description=readme, + license='Mozilla', + author='Tyler Goodlet', + maintainer='Tyler Goodlet', + maintainer_email='tgoodlet@gmail.com', + url='https://github.com/pikers/piker', + platforms=['linux'], + packages=[ + 'piker', + 'piker.brokers', + ], + entry_points={ + 'console_scripts': [ + 'pikerd = piker.brokers.questrade:main', + ] + }, + install_requires=['click', 'colorlog', 'trio', 'attrs'], + extras_require={ + 'questrade': ['asks'], + }, + tests_require=['pytest'], + python_requires=">=3.6", + keywords=["async", "trading", "finance", "quant", "charting"], + classifiers=[ + 'Development Status :: 3 - Alpha', + 'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)', + 'Operating System :: POSIX :: Linux', + "Programming Language :: Python :: Implementation :: CPython", + "Programming Language :: Python :: Implementation :: PyPy", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", + 'Intended Audience :: Financial and Insurance Industry', + 'Intended Audience :: Science/Research', + 'Intended Audience :: Developers', + 'Intended Audience :: Education', + ], +)