Commit 72d3ed35317823889539cb56b26a927724beed40

Authored by Jürgen Knödlseder
1 parent d2140480

Add __version__ variable to GammaLib Python module.

Showing 1 changed file with 5 additions and 0 deletions
pyext/setup.py.in
... ... @@ -257,6 +257,11 @@ def test():
257 257 from gammalib.tests import test_python
258 258 test_python.test(installed=True)
259 259 """)
  260 +
  261 + # Add version
  262 + file.write("\n__version__ = '@PACKAGE_VERSION@'\n")
  263 +
  264 + # Close file
260 265 file.close()
261 266  
262 267 # Set data files to install.
... ...