Skip to content

Commit

Permalink
Remove deprecated pgk_resources module. Using hardcoded version numbe…
Browse files Browse the repository at this point in the history
…r instead.
  • Loading branch information
Tronic committed Oct 9, 2023
1 parent 154a199 commit 4417b70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"License :: Public Domain",
"Operating System :: OS Independent",
],
install_requires = ["html5tagger>=1.2.1", "setuptools"],
install_requires = ["html5tagger>=1.2.1"],
include_package_data = True,
)
6 changes: 1 addition & 5 deletions tracerite/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import pkg_resources

from .html import html_traceback
from .notebook import load_ipython_extension, unload_ipython_extension
from .trace import extract_chain

__all__ = ["html_traceback", "extract_chain"]
__version__ = pkg_resources.require(__name__)[0].version

del pkg_resources
__version__ = "1.1.1"

0 comments on commit 4417b70

Please sign in to comment.