bump version, remove "dumb binaries" from build, coverage

This commit is contained in:
Casper da Costa-Luis 2016-04-13 21:15:54 +01:00
parent 8f93743de5
commit 1f5b8a1029
2 changed files with 5 additions and 5 deletions

View File

@ -94,7 +94,7 @@ install:
build:
@make prebuildclean
python setup.py sdist --formats=gztar,zip bdist --formats=gztar,zip bdist_wheel
python setup.py sdist --formats=gztar,zip bdist_wheel
python setup.py bdist_wininst
pypimeta:

View File

@ -1,21 +1,21 @@
# Definition of the version number
try:
try: # pragma: no cover
from ._utils import _sh
except:
except: # pragma: no cover
_sh = None
from subprocess import STDOUT
__all__ = ["__version__"]
# major, minor, patch, -extra
version_info = 4, 4, 0
version_info = 4, 4, 1
# Nice string for the version
__version__ = '.'.join(map(str, version_info))
# auto -extra based on commit hash (if not tagged as release)
if (_sh is not None) and (len(version_info) < 4):
if (_sh is not None) and (len(version_info) < 4): # pragma: no cover
def commit_hash(*args):
try:
return _sh('git', 'log', '-n', '1', '--oneline', *args,