-
Notifications
You must be signed in to change notification settings - Fork 70
/
setup.py
37 lines (30 loc) · 964 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
33
34
35
36
37
from setuptools import setup
from setuptools.command.test import test as TestCommand
import sys
# read the contents of your README file
README = open('README.rst', 'r').read()
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.10',
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},
long_description=README,
long_description_content_type='text/x-rst'
)