Skip to content

Commit

Permalink
standardize pip requirements filename
Browse files Browse the repository at this point in the history
  • Loading branch information
adrn committed Jan 12, 2022
1 parent b75c180 commit 82fb08b
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: |
sudo apt-get install pandoc
python -m pip install -U pip
python -m pip install -r pip-requirements.txt
python -m pip install -r requirements.txt
python -m pip install git+https://github.com/astropy/nbcollection
- name: Execute the notebooks
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: |
sudo apt-get install pandoc
python -m pip install -U pip
python -m pip install -r pip-requirements.txt
python -m pip install -r requirements.txt
python -m pip install gitpython
python -m pip install git+https://github.com/astropy/nbcollection
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ build: envcheck execute convert
buildall: envcheck executeall convertall

envcheck:
python -c "import pkg_resources; pkg_resources.require(open('pip-requirements.txt', mode='r')); print('Your environment is all set!')"
python -c "import pkg_resources; pkg_resources.require(open('requirements.txt', mode='r')); print('Your environment is all set!')"

execute:
nbcollection execute --timeout=600 --flatten --build-path=. -v ${MODIFIED}
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ below.
To run the tutorials locally, you should start by cloning this repository with
`git` or downloading an archive of this repository from GitHub. You will need to
have [Jupyter notebook](http://jupyter.org/) and IPython installed and will need
to install the tutorial dependencies specified in `pip-requirements.txt`:
to install the tutorial dependencies specified in `requirements.txt`:

python -m pip install -r pip-requirements.txt
python -m pip install -r requirements.txt

To check that your environment is set up to run the tutorials, you can use the
Makefile provided in this repository with the custom `envcheck` command:
Expand All @@ -54,7 +54,7 @@ Contributing tutorial material
------------------------------

We are always interested in incorporating new tutorials into Learn Astropy and
the Astropy Tutorials series. We welcome tutorials covering astro-relevant topics and they do not
the Astropy Tutorials series. We welcome tutorials covering astro-relevant topics and they do not
necessarily need to use the Astropy package in order to be hosted or indexed here.
If you have astronomy tutorials that you would like to contribute to this repository,
or if you have a separate tutorial series that you would like indexed by the
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ dependencies:
- python=3.9
- pip
- pip:
- -r pip-requirements.txt
- -r requirements.txt
File renamed without changes.

0 comments on commit 82fb08b

Please sign in to comment.