Skip to content

Commit

Permalink
Merge pull request #423 from lsst/tickets/DM-27354
Browse files Browse the repository at this point in the history
DM-27354: Update for sphgeom pip install
  • Loading branch information
timj committed Nov 5, 2020
2 parents f286447 + 98ed74c commit 5126caa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,12 @@ jobs:
- name: Install cryptography package for moto
run: pip install cryptography

# It seems like pip install of requirements for a URL package
# does not install those dependencies
- name: Install sphgeom dependencies
run: pip install -r https://raw.githubusercontent.com/lsst/sphgeom/master/requirements.txt

- name: Install dependencies
run: pip install -r requirements.txt

# We have two cores so we can speed up the testing with xdist
- name: Install xdist and openfiles
run: pip install pytest-xdist pytest-openfiles
- name: Install pytest packages
run: pip install pytest pytest-flake8 pytest-xdist pytest-openfiles

- name: Build and install
run: pip install -v .
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pyyaml >= 5.1
astropy >= 4.0
click >= 7.0
sqlalchemy >= 1.3
https://github.com/lsst/sphgeom/archive/master.tar.gz
git+git://github.com/lsst/sphgeom@master#egg=lsst_sphgeom

# optional
backoff >= 1.10
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ install_requires =
pyyaml >=5.1
sqlalchemy >= 1.03
click >= 7.0
lsst_sphgeom > 0.0
lsst_sphgeom @ git+https://github.com/lsst/sphgeom@master
tests_require =
pytest >= 3.2
flake8 >= 3.7.5
Expand Down

0 comments on commit 5126caa

Please sign in to comment.