Skip to content

Commit

Permalink
Specify tsqc/pages as a package
Browse files Browse the repository at this point in the history
Set __version__

Closes #111
  • Loading branch information
savitakartik committed Jan 22, 2024
1 parent 337fc01 commit ee0f40f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ keywords =
quality control

[options]
packages = tsqc
packages = tsqc, tsqc.pages
python_requires = >=3.8
install_requires =
click
Expand All @@ -40,7 +40,7 @@ install_requires =
tszip
appdirs
setup_requires =
setuptools
setuptools_scm

[tool:pytest]
testpaths =
Expand Down
7 changes: 7 additions & 0 deletions tsqc/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
__version__ = "undefined"
try:
from . import _version

__version__ = _version.version
except ImportError:
pass

0 comments on commit ee0f40f

Please sign in to comment.