commitflow 1.0.2__tar.gz → 1.0.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. {commitflow-1.0.2 → commitflow-1.0.3}/PKG-INFO +1 -1
  2. {commitflow-1.0.2 → commitflow-1.0.3}/commitflow.egg-info/PKG-INFO +1 -1
  3. commitflow-1.0.3/daily_git_assistant/__init__.py +1 -0
  4. {commitflow-1.0.2 → commitflow-1.0.3}/setup.py +16 -1
  5. commitflow-1.0.2/daily_git_assistant/__init__.py +0 -1
  6. {commitflow-1.0.2 → commitflow-1.0.3}/LICENSE +0 -0
  7. {commitflow-1.0.2 → commitflow-1.0.3}/README.md +0 -0
  8. {commitflow-1.0.2 → commitflow-1.0.3}/commitflow.egg-info/SOURCES.txt +0 -0
  9. {commitflow-1.0.2 → commitflow-1.0.3}/commitflow.egg-info/dependency_links.txt +0 -0
  10. {commitflow-1.0.2 → commitflow-1.0.3}/commitflow.egg-info/entry_points.txt +0 -0
  11. {commitflow-1.0.2 → commitflow-1.0.3}/commitflow.egg-info/requires.txt +0 -0
  12. {commitflow-1.0.2 → commitflow-1.0.3}/commitflow.egg-info/top_level.txt +0 -0
  13. {commitflow-1.0.2 → commitflow-1.0.3}/daily_git_assistant/config.py +0 -0
  14. {commitflow-1.0.2 → commitflow-1.0.3}/daily_git_assistant/git_utils.py +0 -0
  15. {commitflow-1.0.2 → commitflow-1.0.3}/daily_git_assistant/logger.py +0 -0
  16. {commitflow-1.0.2 → commitflow-1.0.3}/daily_git_assistant/main.py +0 -0
  17. {commitflow-1.0.2 → commitflow-1.0.3}/daily_git_assistant/modes/__init__.py +0 -0
  18. {commitflow-1.0.2 → commitflow-1.0.3}/daily_git_assistant/modes/auto.py +0 -0
  19. {commitflow-1.0.2 → commitflow-1.0.3}/daily_git_assistant/modes/interactive.py +0 -0
  20. {commitflow-1.0.2 → commitflow-1.0.3}/daily_git_assistant/modes/quick.py +0 -0
  21. {commitflow-1.0.2 → commitflow-1.0.3}/daily_git_assistant/modes/setup.py +0 -0
  22. {commitflow-1.0.2 → commitflow-1.0.3}/daily_git_assistant/repo_scanner.py +0 -0
  23. {commitflow-1.0.2 → commitflow-1.0.3}/daily_git_assistant/scheduler.py +0 -0
  24. {commitflow-1.0.2 → commitflow-1.0.3}/daily_git_assistant/ui.py +0 -0
  25. {commitflow-1.0.2 → commitflow-1.0.3}/setup.cfg +0 -0
  26. {commitflow-1.0.2 → commitflow-1.0.3}/tests/test_commit_flow.py +0 -0
  27. {commitflow-1.0.2 → commitflow-1.0.3}/tests/test_config.py +0 -0
  28. {commitflow-1.0.2 → commitflow-1.0.3}/tests/test_git_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: commitflow
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: CLI tool for maintaining consistent Git commits automatically
5
5
  Home-page: https://github.com/abhinav9444/commitflow
6
6
  Author: Abhinav Kumar Singh
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: commitflow
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: CLI tool for maintaining consistent Git commits automatically
5
5
  Home-page: https://github.com/abhinav9444/commitflow
6
6
  Author: Abhinav Kumar Singh
@@ -0,0 +1 @@
1
+ __version__ = "1.0.3"
@@ -18,6 +18,21 @@ else:
18
18
  long_description = ""
19
19
 
20
20
 
21
+ # -----------------------------
22
+ # Read version from package
23
+ # -----------------------------
24
+
25
+ def get_version():
26
+
27
+ version_file = Path("daily_git_assistant/__init__.py").read_text()
28
+
29
+ for line in version_file.splitlines():
30
+
31
+ if line.startswith("__version__"):
32
+
33
+ return line.split("=")[1].strip().strip('"').strip("'")
34
+
35
+
21
36
  # -----------------------------
22
37
  # Add Scripts folder to PATH
23
38
  # -----------------------------
@@ -62,7 +77,7 @@ setup(
62
77
 
63
78
  name="commitflow",
64
79
 
65
- version="1.0.2", # version bumped for PyPI update
80
+ version=get_version(),
66
81
 
67
82
  description="CLI tool for maintaining consistent Git commits automatically",
68
83
 
@@ -1 +0,0 @@
1
- __version__ = "1.0.0"
File without changes
File without changes
File without changes