forked from mcepl/git-deps
OBS-URL: https://build.opensuse.org/package/show/devel:Factory:git-workflow:staging:mcepl:git-deps:1/git-deps?expand=0&rev=1
26 lines
640 B
Diff
26 lines
640 B
Diff
---
|
|
git_deps/__init__.py | 7 +------
|
|
setup.cfg | 2 +-
|
|
2 files changed, 2 insertions(+), 7 deletions(-)
|
|
|
|
--- a/git_deps/__init__.py
|
|
+++ b/git_deps/__init__.py
|
|
@@ -1,6 +1 @@
|
|
-import pkg_resources
|
|
-
|
|
-try:
|
|
- __version__ = pkg_resources.get_distribution(__name__).version
|
|
-except pkg_resources.DistributionNotFound:
|
|
- __version__ = 'unknown'
|
|
+__version__ = '1.1.0'
|
|
--- a/setup.cfg
|
|
+++ b/setup.cfg
|
|
@@ -1,6 +1,6 @@
|
|
[metadata]
|
|
name = git-deps
|
|
-version = 1.1.0
|
|
+version = attr: git_deps.__version__
|
|
summary = automatically detect dependencies between git commits
|
|
author = Adam Spiers
|
|
author_email = git@adamspiers.org
|