Skip to content

Commit

Permalink
do a full clone and checkout of rail
Browse files Browse the repository at this point in the history
attempting to pip install from a tarball fails with

LookupError: setuptools-scm was unable to detect version for /opt/desc/py/rail-1.0.0.
2024-05-22T14:10:27.8326387Z #8 175.3       
2024-05-22T14:10:27.8328814Z #8 175.3       Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.
  • Loading branch information
heather999 authored May 22, 2024
1 parent e5c3bfd commit 0ea0f7a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions conda/install-desc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,12 @@ pip install --no-cache-dir -r $3
#mamba env update -n desc --file $2
#mamba env create -n desc -f $2
cd $1
wget https://github.com/LSSTDESC/rail/archive/refs/tags/v1.0.0.tar.gz
tar xzf v1.0.0.tar.gz
rm v1.0.0.tar.gz
cd rail-1.0.0
#wget https://github.com/LSSTDESC/rail/archive/refs/tags/v1.0.0.tar.gz
#tar xzf v1.0.0.tar.gz
#rm v1.0.0.tar.gz
git clone https://github.com/LSSTDESC/rail
cd rail
git checkout v1.0.0
pip install .
rail install --package-file rail_packages.yml

Expand Down

0 comments on commit 0ea0f7a

Please sign in to comment.