diff --git a/.travis.yml b/.travis.yml index faaeb41..b4bdf0d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ script: - python hostlist/unittest_hostlist.py - coverage run hostlist/unittest_hostlist.py - python setup.py sdist bdist_wheel - - pip install dist/py_hostlist-0.0.1.dev0-py2.py3-none-any.whl + - pip install dist/*.whl - hostlist -h after_success: - codecov diff --git a/hostlist/__init__.py b/hostlist/__init__.py index c827506..abcdb50 100644 --- a/hostlist/__init__.py +++ b/hostlist/__init__.py @@ -3,4 +3,6 @@ .. moduleauthor:: Christopher Moussa """ -name = "py-hostlist" \ No newline at end of file +from .hostlist import * + +name = "py-hostlist" diff --git a/hostlist/cla_hostlist.py b/hostlist/cla_hostlist.py index 724ada2..45b93b3 100644 --- a/hostlist/cla_hostlist.py +++ b/hostlist/cla_hostlist.py @@ -15,7 +15,7 @@ def msg(name=None): Description: cla_hostlist processes slurm-style hostlist strings and can return those strings in manipulated fashion. - Usage: python cla_hostlist.py [OPTION]... [HOSTLIST]... + Usage: hostlist [OPTION]... [HOSTLIST]... -h, --help Display this message. -q, --quiet Quiet output (exit non-zero if empty hostlist) diff --git a/setup.py b/setup.py index ef82f47..d4ed940 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="py-hostlist", - version="0.0.1-dev", + version="0.1.0", author="Christopher Moussa", author_email="moussa1@llnl.gov", description="A slurm-style hostlist processor.",