2011-04-29 18:02:18 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
'''
|
|
|
|
Setup script for eopayment
|
|
|
|
'''
|
|
|
|
|
|
|
|
import distutils
|
2011-05-02 09:56:29 +02:00
|
|
|
import distutils.core
|
2012-01-31 10:59:10 +01:00
|
|
|
import re
|
|
|
|
|
|
|
|
def get_version():
|
|
|
|
text = file('eopayment/__init__.py').read()
|
|
|
|
m = re.search("__version__ = ['\"](.*)['\"]", text)
|
|
|
|
return m.group(1)
|
2011-04-29 18:02:18 +02:00
|
|
|
|
|
|
|
distutils.core.setup(name='eopayment',
|
2012-01-31 10:59:10 +01:00
|
|
|
version=get_version(),
|
2012-01-30 12:06:19 +01:00
|
|
|
license='GPLv3 or later',
|
2012-01-04 12:30:48 +01:00
|
|
|
description='Common API to use all French online payment credit card processing services',
|
2012-01-30 15:45:20 +01:00
|
|
|
long_description=
|
|
|
|
"eopayment is a Python module to interface with French's bank credit card\n"
|
|
|
|
"online payment services. Supported services are ATOS/SIP, SystemPay, and\n"
|
|
|
|
"SPPLUS.",
|
2011-04-29 18:02:18 +02:00
|
|
|
url='http://dev.entrouvert.org/projects/eopayment/',
|
|
|
|
author="Entr'ouvert",
|
2012-01-04 12:30:48 +01:00
|
|
|
author_email="info@entrouvert.com",
|
2011-04-29 18:02:18 +02:00
|
|
|
maintainer="Benjamin Dauvergne",
|
|
|
|
maintainer_email="bdauvergne@entrouvert.com",
|
2012-01-30 15:45:20 +01:00
|
|
|
packages=['eopayment'],
|
|
|
|
requires=[
|
|
|
|
'pycrypto (>= 2.5)'
|
|
|
|
])
|