Commit 25c7dac9 authored by Jérome Perrin's avatar Jérome Perrin

Don't import ERP5Diff to calculate the version. Avoid circular dependency building

parent ec539f84
......@@ -2,10 +2,12 @@
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from ERP5Diff import ERP5Diff
import re
setup(name="erp5diff",
version=ERP5Diff.__version__,
version=re.search(r'\s*__version__ = (.+)$',
open('ERP5Diff.py').read(),
re.MULTILINE ).group(1).strip(),
description="XUpdate Generator for ERP5",
author="Yoshinori OKUJI",
author_email="yo@nexedi.com",
......
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