Name: pypi-to-module
Owner: Duke Center for Genomic and Computational Biology
Description: Creates an environment module from a package on pypi
Created: 2017-06-01 18:58:08.0
Updated: 2017-06-01 19:14:13.0
Pushed: 2017-06-01 19:36:05.0
Homepage: null
Size: 8
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Creates an environment module from a package on pypi
User runs pypi_to_module.py passing specfile directory, pypi package name, module name, and an install script
$NAME $VERSION $RELEASE
https://raw.githubusercontent.com/Duke-GCB/pypi-to-module/master/pypi_to_module.py
d 755 pypi_to_module.py
Create an installation script that performs the specific environment module installation process. See example_install_script.sh for an example of a install script.
e: ./pypi_to_module.py <SPECFILE_DIRECTORY> <PYPI_NAME> <MODULE_NAME> <INSTALL_SCRIPT>
So to try installing the python package DukeDSClient
with the module name ddsclient
using the /data/specfiles
directory and using a installation script at /usr/bin/install_module.sh
. You would run this command:
pi_to_module.py /data/specfiles DukeDSClient ddsclient /usr/bin/install_module.sh