forked from fastmonkeys/python-verkkomaksut
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
66 lines (53 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
"""
verkkomaksut
============
Python wrapper for the JSON API of Suomen Verkkomaksut.
Links
-----
* `documentation <http://packages.python.org/verkkomaksut>`_
* `development version
<http://github.com/jpvanhal/verkkomaksut/zipball/master#egg=verkkomaksut-dev>`_
"""
import sys
import subprocess
import distribute_setup
distribute_setup.use_setuptools()
from setuptools import Command, setup
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, 'runtests.py'])
raise SystemExit(errno)
setup(
name='verkkomaksut',
version='0.1.1',
description='Python wrapper for the JSON API of Suomen Verkkomaksut.',
long_description=__doc__,
author='Janne Vanhala',
author_email='[email protected]',
url='http://github.com/LiiquOy/python-verkkomaksut',
packages=['verkkomaksut'],
include_package_data=True,
license='BSD',
zip_safe=False,
platforms='any',
install_requires=[
'setuptools',
'requests',
],
cmdclass={
'test': PyTest
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)