Skip to content

Commit

Permalink
Fix version numbering (#476)
Browse files Browse the repository at this point in the history
* bump version number in hca/version.py

* use version number in hca/version.py in setup.py

* bump version to 6.6.0dev, update version check
  • Loading branch information
chmreid committed Nov 5, 2019
1 parent 8d3147d commit fd70455
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hca/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def print_help(self, file=None):

def check_if_release_is_current(log):
"""Warns the user if their release is behind the latest PyPi __version__."""
if __version__ == '0.0.0':
if __version__.endswith('dev'):
return
client = xmlrpclib.ServerProxy('https://pypi.python.org/pypi')
latest_pypi_version = client.package_releases('hca')
Expand Down
2 changes: 1 addition & 1 deletion hca/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '6.0.1'
__version__ = '6.6.0dev'
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

import os
from setuptools import setup, find_packages
from hca.version import __version__

install_requires = [line.rstrip() for line in open(os.path.join(os.path.dirname(__file__), "requirements.txt"))]

setup(
name="hca",
version="6.5.0",
version=__version__,
url='https://github.com/HumanCellAtlas/dcp-cli',
license='Apache Software License',
author='Human Cell Atlas contributors',
Expand Down

0 comments on commit fd70455

Please sign in to comment.