mirror of https://github.com/tqdm/tqdm.git
bump version, remove "dumb binaries" from build, coverage
This commit is contained in:
parent
8f93743de5
commit
1f5b8a1029
2
Makefile
2
Makefile
|
@ -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:
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue