Move version number out of init file to its own file (consistent with

other projects).
This commit is contained in:
James Muscat committed 2015-04-14 13:58:33 +01:00
1 parent 1f3de2474c
commit 43ff4cda3a
4 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
import re
VERSIONFILE = "src/eddn/__init__.py"
VERSIONFILE = "src/eddn/_version.py"
verstr = "unknown"
try:
verstrline = open(VERSIONFILE, "rt").read()
-1
View File
@@ -1 +0,0 @@
__version__ = "0.2"
+1
View File
@@ -0,0 +1 @@
__version__ = "0.2"
+1 -1
View File
@@ -6,7 +6,7 @@ Created on 15 Nov 2014
import simplejson
import argparse
from eddn import __version__ as version
from eddn._version import __version__ as version
class _Settings(object):