Skip to content

Commit

Permalink
Remove now redundant requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
hugobuddel committed Apr 30, 2023
1 parent 0f47e41 commit 765f067
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 57 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ jobs:
# ScopeSim will be installed when the github_actions requirements
# are installed, because ScopeSim is a dependency of
# ScopeSim_Templates.
pip install .
pip install -r requirements.github_actions.txt
pip install .[dev,test]
- name: Run Pytest
run: pytest --cov=scopesim
- name: Run notebooks
Expand Down
10 changes: 6 additions & 4 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ build:
python: "3.9"

sphinx:
configuration: docs/source/conf.py
configuration: docs/source/conf.py

python:
install:
- requirements: requirements.readthedocs.txt
- path: .
install:
- method: pip
path: .
extra_requirements:
- docs

# If using Sphinx, optionally build your docs in additional formats such as PDF
# formats: [] # ignore htmlzip. html is always run
9 changes: 8 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ test = [
# Just so that readthedocs doesn't include the tests module - yes it's hacky
"skycalc_cli",
]
docs = [
"sphinx>=4.3.0",
"sphinx-rtd-theme>=0.5.1",
"jupyter_sphinx==0.2.3",
"sphinxcontrib-apidoc",
"nbsphinx",
"numpydoc",
]

[project.urls]
"Homepage" = "https://scopesim.readthedocs.io/en/latest/"
Expand All @@ -65,4 +73,3 @@ packages = [
]

# TODO: Add real licence
# TODO: Remove requirements.github_actions.txt and requirements.readthedocs.txt
25 changes: 0 additions & 25 deletions requirements.github_actions.txt

This file was deleted.

25 changes: 0 additions & 25 deletions requirements.readthedocs.txt

This file was deleted.

0 comments on commit 765f067

Please sign in to comment.