forked from kmadac/bitstamp-python-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (26 loc) · 806 Bytes
/
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
from setuptools import setup
from setuptools.command.test import test as TestCommand
import sys
class Tox(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't loaded
import tox
errno = tox.cmdline(self.test_args)
sys.exit(errno)
setup(
name='BitstampClient',
version='2.2.0',
description='Bitstamp API python implementation',
packages=['bitstamp'],
url='https://github.com/kmadac/bitstamp-python-client',
license='MIT',
author='Kamil Madac',
author_email='[email protected]',
install_requires=['requests'],
tests_require=['tox'],
cmdclass={'test': Tox},
)