mirror of
https://git.centos.org/centos/centpkg.git
synced 2025-02-23 16:22:55 +00:00
get the version from version.py so running from a checkout works better
This commit is contained in:
parent
481e96a724
commit
1a54304148
1 changed files with 4 additions and 1 deletions
5
setup.py
5
setup.py
|
@ -1,5 +1,8 @@
|
|||
from setuptools import setup
|
||||
from centpkg import __version__
|
||||
|
||||
__version__ = None
|
||||
execfile('src/centpkg/version.py')
|
||||
|
||||
setup(
|
||||
name = "centpkg",
|
||||
version = __version__,
|
||||
|
|
Loading…
Add table
Reference in a new issue