Skip to content

Commit

Permalink
bump version, remove "dumb binaries" from build, coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Apr 13, 2016
1 parent 8f93743 commit 1f5b8a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions tqdm/_version.py
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit 1f5b8a1

Please sign in to comment.