How-to: Install Packages from an Arup Github Repository
To install packages from an arup-group repository, place its archive URL in requirements.txt using one of the forms below:
| Archive Type | URL |
|---|---|
| Branch | https://${COMPUTE_USER}:${COMPUTE_PASS}@github.com/arup-group/repoName/archive/refs/heads/branchName.zip |
| Tag | https://${COMPUTE_USER}:${COMPUTE_PASS}@github.com/arup-group/repoName/archive/refs/tags/tagName.zip |
The repository needs to have public or internal visibility. COMPUTE_USER and COMPUTE_PASS are special symbols that ArupCompute recognizes - these do not need to be added separately by users. Note that the URL should not be prefixed with "git+" or have any other adornments.
tip
arupcomputepy (targeting the master branch) can be added as a required module with a requirements.txt line like this:
https://${COMPUTE_USER}:${COMPUTE_PASS}@github.com/arup-group/arupcomputepy/archive/refs/heads/master.zip