Commit a4b49f23 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

append revision after api_version.

parent 1e3ff729
......@@ -4,16 +4,18 @@
from setuptools import setup, find_packages
import re
version=re.search(r'\s*__version__ = (.+)$',
open('ERP5Diff.py').read(),
re.MULTILINE ).group(1).strip()
api_version = re.search(r'\s*__version__\s*=\s*(\S+)',
open('ERP5Diff.py').read()).group(1).strip()
revision = 1
version = '%s.%s' % (api_version, revision)
setup(name="erp5diff",
version=version,
description="XUpdate Generator for ERP5",
author="Yoshinori OKUJI",
author_email="yo@nexedi.com",
url="http://www.erp5.org/",
download_url="http://nexedi.org/static/packages/source/erp5diff-%s.tar.gz" % (version,),
download_url="http://www.nexedi.org/static/packages/source/erp5diff-%s.tar.gz" % version,
license="GPL",
packages=find_packages(),
py_modules=["ERP5Diff"],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment