Skip to content

move all requirement files in to single folder #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- name: Install style requirements
run: |
pip install -r requirements_style.txt --disable-pip-version-check
pip install -r requirements/requirements_style.txt --disable-pip-version-check

- name: Codespell
run: |
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:

- name: Unit testing
run: |
pip install -r requirements_test.txt
pip install -r requirements/requirements_test.txt
docker-compose up -d
cd tests # so we're testing the install, not local
pytest -vx
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:

- name: Build HTML
run: |
pip install -r requirements_docs.txt
pip install -r requirements/requirements_docs.txt
make -C doc html SPHINXOPTS="-W"

- name: Build PDF Documentation
Expand Down
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Clone and install

git clone https://<PAT>@github.com/pyansys/pyoptics.git
cd pyoptics
pip install -r requirements_style.txt
pip install -r requirements/requirements_style.txt
pre-commit install
pip install -e .

Expand All @@ -56,7 +56,7 @@ To build it manually, just run

.. code::

pip install -r requirements_docs.txt
pip install -r requirements/requirements_docs.txt
doc\make.bat singlehtml


Expand Down Expand Up @@ -109,7 +109,7 @@ Launch unit tests

.. code::

pip install -r requirements_test.txt
pip install -r requirements/requirements_test.txt
pytest -vx


Expand Down
4 changes: 2 additions & 2 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Sphinx documentation configuration file."""
from datetime import datetime

from pyansys_sphinx_theme import pyansys_logo_black
from ansys_sphinx_theme import pyansys_logo_black

from ansys.pyoptics.speos import __version__

Expand All @@ -13,7 +13,7 @@

# use the default pyansys logo
html_logo = pyansys_logo_black
html_theme = 'pyansys_sphinx_theme'
html_theme = 'ansys_sphinx_theme'

# specify the location of your github repo
html_theme_options = {
Expand Down
4 changes: 2 additions & 2 deletions requirements_docs.txt → requirements/requirements_docs.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Sphinx
https://github.com/numpy/numpydoc/archive/main.zip # need latest
pyansys_sphinx_theme>=0.2.0
sphinx-copybutton
ansys_sphinx_theme>=0.4.0
sphinx-copybutton
File renamed without changes.
File renamed without changes.