Closed timcera closed 2 years ago
@timcera, thank you for following up on your offer from issue #55!
We'll test this soon and pull it in!
Yes, thanks @timcera. Implementing "pip install HSPSquared" would be great for the next release!
Any ideas on the best way to test this while waiting for the RESPEC folks to finish their review before merging? I am thinking "git clone ..." of timcera:develop, but wanted to ask first in case someone has a better idea.
@rburghol, thanks for offering to test this Pull Request!
It's awesome that you opened up this issue and shared your results here:
To clear that error, @timcera will need to merge PR https://github.com/timcera/HSPsquared/pull/1 that I just created, which addresses issue #64 that @PaulDudaRESPEC just mentioned.
BTW, I'm continuing the conversation on testing this PR in this PR thread itself, so to keep all the relevant info in one place.
Pulling this PR into the new setup_pip
branch, to enable testing by @rburghol and others in combination with recent commits.
Merged in timcera#1 but now I am confused because it looks like should use respec:setup_pip
branch for testing. Am I understanding that correctly?
@timcera, thanks for merging.
Now that you've done that, you should be able to use either your branch or the new respec:setup_pip
for testing. Either will work.
@sjordan29 has availability in the next couple of days, so I wanted to make sure she could test it all together. My apologies for the confusion by creating two paths.
If you make any edits on your end after testing, feel free to issue a new PR.
Added a setup.py command which:
__version__
" variable in "HSP2/__init__.py
" so version number is kept in one placeThe only change made to any conda settings was to add the "mando" library to the "environment*.yml" files. "mando" is used to support the command line environment.
To install from the current local directory using pip:
pip install .
To install from the current local directory including the "dev" dependencies:
pip install .[dev]
To install an editable version from the current local directory using pip:
pip install -e .
And of course if RESPEC published the package to pypi.org (setting up an account and running "python setup.py publish") then to install HSPsquared and all dependencies from any python environment anywhere in the world:
pip install HSPsquared
hsp2 Command
The pip installed 'hsp2' command has help created from the function docstrings in HSP2tools/HSP2_CLI.py.
hsp2 --help
And there is a help for each sub-command:
hsp2 import_uci --help
hsp2 run --help
Intended workflow from the command line would be something like: