mirror of
https://github.com/EDCD/EDDN.git
synced 2026-11-16 01:32:22 +03:00
Move version number out of init file to its own file (consistent with
other projects).
This commit is contained in:
1 parent
1f3de2474c
commit
43ff4cda3a
4 files changed
+3
-3
No files matched your search
@@ -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 +0,0 @@
|
||||
__version__ = "0.2"
|
||||
@@ -0,0 +1 @@
|
||||
__version__ = "0.2"
|
||||
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user