diff --git a/CHANGES.txt b/CHANGES.txt index 2a43356..56d95e5 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,5 +1,9 @@ -Recent tagged changes as of 2024-12-25 12:56:14.612729: -- 0 seconds ago (HEAD -> working, tag: 0.0.16) Daniel Graham +Recent tagged changes as of 2024-12-25 13:05:29.623690: +- 0 seconds ago (HEAD -> working, tag: 0.0.17) Daniel Graham + f8677ea 2024-12-25 13:05:29 -0500 + Tagged version 0.0.17. + +- 9 minutes ago (tag: 0.0.16) Daniel Graham 040ad27 2024-12-25 12:56:14 -0500 Tagged version 0.0.16. @@ -74,7 +78,3 @@ Recent tagged changes as of 2024-12-25 12:56:14.612729: - 12 days ago (tag: 0.0.0rc6) Daniel Graham b540cb0 2024-12-13 13:52:34 -0500 Tagged version 0.0.0rc6. - -- 12 days ago (tag: 0.0.0rc5) Daniel Graham - 0f4ad78 2024-12-13 13:41:35 -0500 - Tagged version 0.0.0rc5. diff --git a/modules/__version__.py b/modules/__version__.py index 3226e19..cb9928d 100755 --- a/modules/__version__.py +++ b/modules/__version__.py @@ -1 +1 @@ -version = '0.0.16' \ No newline at end of file +version = '0.0.17' \ No newline at end of file diff --git a/setup.py b/setup.py index b183ab8..06ba3d3 100644 --- a/setup.py +++ b/setup.py @@ -2,9 +2,20 @@ import os from setuptools import find_packages, setup +from setuptools.command.clean import clean as Clean from modules.__version__ import version + +class CleanCommand(Clean): + """Custom clean command to tidy up the project root.""" + + def run(self): + Clean.run(self) + for directory in ["dist", "build", "*.egg-info"]: + os.system(f"rm -rf {directory}") + + DESCRIPTION = "Record and report times spent in various activities." here = os.path.abspath(os.path.dirname(__file__)) @@ -24,6 +35,7 @@ author="Daniel A Graham", author_email="dnlgrhm@gmail.com", packages=find_packages(), + cmdclass={"clean": CleanCommand}, install_requires=[ "click", "click-shell",