-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add pyproject * fix wheels * fix author metadata * fix author metadata * missing test dep
- Loading branch information
Showing
8 changed files
with
54 additions
and
2,991 deletions.
There are no files selected for viewing
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 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
include cobaya_utilities/_version.py | ||
|
||
exclude .git* | ||
exclude codecov.yml | ||
|
||
prune .github |
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,3 +1,7 @@ | ||
from . import _version | ||
from importlib.metadata import PackageNotFoundError, version | ||
|
||
__version__ = _version.get_versions()["version"] | ||
try: | ||
__version__ = version("cobaya_utilities") | ||
except PackageNotFoundError: | ||
# package is not installed | ||
pass |
Oops, something went wrong.