Skip to content

Commit 82fb08b

Browse files
committed
standardize pip requirements filename
1 parent b75c180 commit 82fb08b

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: |
2626
sudo apt-get install pandoc
2727
python -m pip install -U pip
28-
python -m pip install -r pip-requirements.txt
28+
python -m pip install -r requirements.txt
2929
python -m pip install git+https://github.com/astropy/nbcollection
3030
3131
- name: Execute the notebooks

.github/workflows/prs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: |
2828
sudo apt-get install pandoc
2929
python -m pip install -U pip
30-
python -m pip install -r pip-requirements.txt
30+
python -m pip install -r requirements.txt
3131
python -m pip install gitpython
3232
python -m pip install git+https://github.com/astropy/nbcollection
3333

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build: envcheck execute convert
77
buildall: envcheck executeall convertall
88

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

1212
execute:
1313
nbcollection execute --timeout=600 --flatten --build-path=. -v ${MODIFIED}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ below.
2525
To run the tutorials locally, you should start by cloning this repository with
2626
`git` or downloading an archive of this repository from GitHub. You will need to
2727
have [Jupyter notebook](http://jupyter.org/) and IPython installed and will need
28-
to install the tutorial dependencies specified in `pip-requirements.txt`:
28+
to install the tutorial dependencies specified in `requirements.txt`:
2929

30-
python -m pip install -r pip-requirements.txt
30+
python -m pip install -r requirements.txt
3131

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

5656
We are always interested in incorporating new tutorials into Learn Astropy and
57-
the Astropy Tutorials series. We welcome tutorials covering astro-relevant topics and they do not
57+
the Astropy Tutorials series. We welcome tutorials covering astro-relevant topics and they do not
5858
necessarily need to use the Astropy package in order to be hosted or indexed here.
5959
If you have astronomy tutorials that you would like to contribute to this repository,
6060
or if you have a separate tutorial series that you would like indexed by the

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ dependencies:
77
- python=3.9
88
- pip
99
- pip:
10-
- -r pip-requirements.txt
10+
- -r requirements.txt
File renamed without changes.

0 commit comments

Comments
 (0)