forked from westonplatter/fast_arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
57 lines (47 loc) · 1.37 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
47
48
49
50
51
52
53
54
55
56
57
import os
import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass into pytest")]
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = '-n auto'
def run_tests(self):
import shlex
import pytest
errno = pytest.main(shlex.split(self.pytest_args))
sys.exit(errno)
with open("README.md", "r") as fh:
long_description = fh.read()
deps = [
'click',
'pathlib2',
'requests',
'yarl']
test_deps = [
'pipenv',
'pytest',
'pytest-cov',
'detox',
'flake8',
'vcrpy']
setup(name='fast_arrow',
version='0.2.2',
description='API client for Robinhood',
long_description=long_description,
long_description_content_type="text/markdown",
author='Weston Platter',
author_email='[email protected]',
url='https://github.com/westonplatter/fast_arrow/',
license='MIT License',
python_requires=">=3.5",
packages=['fast_arrow', 'fast_arrow.resources'],
install_requires=deps,
tests_require=test_deps,
cmdclass={'test': PyTest},
project_urls={
'Issue Tracker': 'https://github.com/westonplatter/fast_arrow/issues',
'Source Code': 'https://github.com/westonplatter/fast_arrow',
}
)