Have version defined in only one place (fixes #86).

main
Olivier Mangin 7 years ago
parent a2af1ce4a5
commit 0d7b44a3f5
No known key found for this signature in database
GPG Key ID: D72FEC1C3120A884

@ -1 +1 @@
__version__ = '0.7.0'
from .version import __version__

@ -0,0 +1 @@
__version__ = '0.7.0'

@ -2,11 +2,12 @@
from setuptools import setup
VERSION = '0.7.0'
with open('pubs/version.py') as f:
exec(f.read()) # defines __version__
setup(
name='pubs',
version=VERSION,
version=__version__,
author='Fabien Benureau, Olivier Mangin, Jonathan Grizou',
author_email='fabien.benureau@gmail.com',
maintainer='Olivier Mangin',

Loading…
Cancel
Save