Skip to content
Snippets Groups Projects
Commit 51ec9d74 authored by Jan Caron's avatar Jan Caron
Browse files

Changes hg_revision logging to git_revision

removed last artefact of hg usage ages ago...
removed syntax error in setup.py...
parent 37274538
No related branches found
No related tags found
No related merge requests found
......@@ -62,11 +62,11 @@ from .ramp import *
from .quaternion import *
from .file_io import *
from .version import version as __version__
from .version import hg_revision as __hg_revision__
from .version import git_revision as __git_revision__
import logging
_log = logging.getLogger(__name__)
_log.info("Starting Pyramid V{} HG{}".format(__version__, __hg_revision__))
_log.info("Starting Pyramid V-{} GIT-{}".format(__version__, __git_revision__))
del logging
__all__ = ['analytic', 'magcreator', 'reconstruction', 'fieldconverter',
......
......@@ -14,7 +14,6 @@ try:
except Exception:
git_rev = "???"
# Write both to version.py:
version_string =
with open(os.path.join(os.path.dirname(__file__), 'pyramid', 'version.py'), 'w') as vfile:
vfile.write('# -*- coding: utf-8 -*-\n' +
'""""This file was automatically generated by `setup.py`"""\n' +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment