-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switched to static version numbering
- Loading branch information
Showing
5 changed files
with
3 additions
and
111 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1 @@ | ||
from CveXplore.main import CveXplore | ||
|
||
try: | ||
from version import _version | ||
|
||
_version() | ||
except ModuleNotFoundError: | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Quick last minute changes, what could go wrong... This causes
setup.py
to importCveXplore/__init__.py
which then imports the entireCveXplore.main
, not just a single variable... This has unexpected consequences with, e.g.,pybuild
:@P-T-I This could be fixed by catching the
except ModuleNotFoundError:
like it used to be, but parsing the version fromCveXplore/main.py
instead of using theCveXplore/VERSION
file. Or even better, just directly parsing it, becausesetup.py
really shouldn't import the entire project. It could actually be best to keep theVERSION
file but simply read it without trying togit describe
.