forked from py-moneyed/py-moneyed
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·49 lines (44 loc) · 1.47 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
#!/usr/bin/env python
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='ud-py-moneyed',
packages=['moneyed'],
version='0.6.3',
description='Provides Currency and Money classes for use in your Python code.',
url='https://github.com/udemy/py-moneyed',
download_url='',
keywords="money currency class abstraction",
license='BSD',
install_requires=[],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Development Status :: 3 - Alpha',
'Environment :: Other Environment',
'Intended Audience :: Developers',
'Topic :: Office/Business :: Financial',
'Topic :: Software Development :: Libraries :: Python Modules'],
long_description=open('README.rst', 'r').read(),
extras_require={
'tests': [
'pytest>=2.3.0',
'tox>=1.6.0'
]},
tests_require=['tox>=1.6.0', 'pytest>=2.3.0'],
cmdclass={'test': Tox},
include_package_data=True,
)