[Python-modules-commits] [citeproc-py] 01/03: no-git-from-version
Daniel Stender
danstender-guest at moszumanska.debian.org
Fri Oct 16 16:46:12 UTC 2015
This is an automated email from the git hooks/post-receive script.
danstender-guest pushed a commit to branch master
in repository citeproc-py.
commit 282254c8ea9cdd65eacd9fdba0b204d38a9035af
Author: Daniel Stender <debian at danielstender.com>
Date: Fri Oct 16 18:43:13 2015 +0200
no-git-from-version
Forwarded: not-needed
---
setup.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/setup.py b/setup.py
index 99e2b13..ecdf9a6 100755
--- a/setup.py
+++ b/setup.py
@@ -19,6 +19,7 @@ VERSION_FILE = PACKAGE + '/version.py'
# 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', '--abbrev=4', '--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