LLNL / py-hostlist

hostlist utility implemented in python
MIT License
6 stars 2 forks source link

Hostlist cmd travis #27

Closed cmoussa1 closed 6 years ago

cmoussa1 commented 6 years ago

Figured it out! In order to run the command-line version of py-hostlist, we need to add a couple of lines to our .travis.yml file:

python setup.py sdist bdist_wheel builds our project so that we have a distribution file

pip install dist/py_hostlist-0.0.1.dev0-py2.py3-none-any.whl installs our newly developed package and adds hostlist to our environment so we can use it on the command line

hostlist -h confirms its functionality