-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploy Travis CI build 1382 to GitHub
- Loading branch information
travis-ci
committed
Sep 18, 2022
1 parent
89fa631
commit d577c64
Showing
4 changed files
with
96 additions
and
66 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
from pkg_resources import DistributionNotFound, get_distribution | ||
from importlib.metadata import PackageNotFoundError, version | ||
|
||
try: | ||
__version__ = get_distribution("TemplateDemo").version | ||
except DistributionNotFound: | ||
__version__ = version("TemplateDemo") | ||
except PackageNotFoundError: | ||
__version__ = "(local)" | ||
|
||
del DistributionNotFound | ||
del get_distribution | ||
del PackageNotFoundError | ||
del version |
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,3 @@ | ||
mkdocs==1.3.1; python_version >= "3.6" | ||
pygments==2.13.0; python_version >= "3.6" | ||
jinja2==3.1.2; python_version >= "3.7" | ||
mkdocs==1.3.1 ; python_version >= "3.9" and python_version < "4.0" | ||
pygments==2.13.0 ; python_version >= "3.9" and python_version < "4.0" | ||
jinja2==3.1.2 ; python_version >= "3.9" and python_version < "4.0" |
Oops, something went wrong.