forked from py-moneyed/py-moneyed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
48 lines (46 loc) · 1.56 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
from setuptools import setup, find_packages
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='py-moneyed',
packages=find_packages('src'),
package_dir={'': 'src'},
version='0.5.0+fyndiq',
description='Provides Currency and Money classes for use in your Python code.',
author='Kai',
author_email='[email protected]',
url='http://github.com/saabeilin/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,
)