add a setup file

add version declaration to module
This commit is contained in:
Benjamin Dauvergne 2011-04-29 18:02:18 +02:00
parent 5af4679368
commit 00651ed00f
2 changed files with 22 additions and 1 deletions

View File

@ -4,7 +4,9 @@ import logging
from common import URL, HTML
__all__ = [ 'Payment', 'URL', 'HTML' ]
__all__ = [ 'Payment', 'URL', 'HTML', '__version__' ]
__version__ = "0.0.1"
SIPS = 'sips'
SYSTEMPAY = 'systempayv2'

19
setup.py Normal file
View File

@ -0,0 +1,19 @@
#!/usr/bin/env python
'''
Setup script for eopayment
'''
import distutils
import eopayment
distutils.core.setup(name='eopayment',
version=eopayment.__version__,
licence='GPLv3 or later',
description='Common API to access online payment services',
url='http://dev.entrouvert.org/projects/eopayment/',
author="Entr'ouvert",
auhtor_email="info@entrouvert.com",
maintainer="Benjamin Dauvergne",
maintainer_email="bdauvergne@entrouvert.com",
packages=['eopayment'])