Skip to content

Commit

Permalink
Reported issue with git_desc not working
Browse files Browse the repository at this point in the history
Hardcode the version number as a workaround.
  • Loading branch information
brenmous committed Jul 2, 2020
1 parent 7611487 commit 3057025
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,17 @@ def run(self):
build_cubist()
_develop.run(self)

def git_desc():
desc = ['git', 'describe', '--tags', '--abbrev=0']
return subprocess.check_output(desc).decode().strip()
#def git_desc():
# desc = ['git', 'describe', '--tags', '--abbrev=0']
# return subprocess.check_output(desc).decode().strip()

setup(
cmdclass={
'build_py': build_py,
'develop': develop
},
name='uncover-ml',
version=git_desc(),
version='0.3.1',
description='Machine learning tools for the Geoscience Australia uncover '
'project',
long_description=readme,
Expand Down

0 comments on commit 3057025

Please sign in to comment.