[Python-modules-commits] [citeproc-py] 03/08: no-version-from-git
Yaroslav Halchenko
debian at onerussian.com
Fri Jun 23 15:27:18 UTC 2017
This is an automated email from the git hooks/post-receive script.
yoh pushed a commit to branch master
in repository citeproc-py.
commit 63bd499158a2933abe7591386d68f1c2b7ed3bf1
Author: Daniel Stender <debian at danielstender.com>
Date: Fri Oct 16 18:43:13 2015 +0200
no-version-from-git
Forwarded: not-needed
---
setup.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/setup.py b/setup.py
index 54f1ac4..d8dd2db 100755
--- a/setup.py
+++ b/setup.py
@@ -28,6 +28,7 @@ os.chdir(BASE_PATH)
# retrieve the version number from git or VERSION_FILE
# inspired by http://dcreager.net/2010/02/10/setuptools-git-version-numbers/
try:
+ raise OSError
print('Attempting to get version number from git...')
git = Popen(['git', 'describe', '--always', '--dirty'],
stdout=PIPE, stderr=sys.stderr)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/citeproc-py.git
More information about the Python-modules-commits
mailing list