diff --git a/eopayment/__init__.py b/eopayment/__init__.py index 4935bcb..2d460bb 100644 --- a/eopayment/__init__.py +++ b/eopayment/__init__.py @@ -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' diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..4b7af5c --- /dev/null +++ b/setup.py @@ -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'])