Commit 286dcbd0c24563437c1cc2a8f96d731daf694525
1 parent
0e53abdb
Add __version__ variable to cscripts.
Showing
3 changed files
with
6 additions
and
1 deletions
.gitignore
| @@ -49,6 +49,7 @@ pyext/setup.py | @@ -49,6 +49,7 @@ pyext/setup.py | ||
| 49 | pyext/ctools/__init__.py | 49 | pyext/ctools/__init__.py |
| 50 | pyext/ctools/tools.py | 50 | pyext/ctools/tools.py |
| 51 | pyext/ctools/tools_wrap.cpp | 51 | pyext/ctools/tools_wrap.cpp |
| 52 | +cscripts/__init__.py | ||
| 52 | src/ctbin/ctbin | 53 | src/ctbin/ctbin |
| 53 | src/ctlike/ctlike | 54 | src/ctlike/ctlike |
| 54 | src/cttsmap/cttsmap | 55 | src/cttsmap/cttsmap |
configure.ac
| @@ -921,10 +921,11 @@ AC_CONFIG_FILES([Makefile | @@ -921,10 +921,11 @@ AC_CONFIG_FILES([Makefile | ||
| 921 | pyext/Makefile | 921 | pyext/Makefile |
| 922 | pyext/setup.py | 922 | pyext/setup.py |
| 923 | pyext/ctools/__init__.py | 923 | pyext/ctools/__init__.py |
| 924 | + cscripts/__init__.py | ||
| 925 | + cscripts/Makefile | ||
| 924 | caldb/Makefile | 926 | caldb/Makefile |
| 925 | models/Makefile | 927 | models/Makefile |
| 926 | examples/Makefile | 928 | examples/Makefile |
| 927 | - cscripts/Makefile | ||
| 928 | ctools.pc | 929 | ctools.pc |
| 929 | testconf.sh], | 930 | testconf.sh], |
| 930 | [if test -f test/test_cscripts.sh; then chmod +x test/test_cscripts.sh; fi; | 931 | [if test -f test/test_cscripts.sh; then chmod +x test/test_cscripts.sh; fi; |
cscripts/__init__.py renamed to cscripts/__init__.py.in
| @@ -53,3 +53,6 @@ def test(): | @@ -53,3 +53,6 @@ def test(): | ||
| 53 | Run cscripts tests. | 53 | Run cscripts tests. |
| 54 | """ | 54 | """ |
| 55 | print("No cscripts unit tests have been implemented so far.") | 55 | print("No cscripts unit tests have been implemented so far.") |
| 56 | + | ||
| 57 | +# Add version | ||
| 58 | +__version__ = '@PACKAGE_VERSION@' | ||
| 56 | \ No newline at end of file | 59 | \ No newline at end of file |