-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Move from ``prisae`` to ``emsig``. - Changed from ``setup.py`` to ``pyproject.toml``. - Ready for numpy v2. - Updated all CI. - Change from ``master`` to ``main``. - Add Makefile. - Add monthly tests.
- Loading branch information
Showing
21 changed files
with
226 additions
and
138 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node: $Format:%H$ | ||
node-date: $Format:%cI$ | ||
describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.git_archival.txt export-subst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Required | ||
version: 2 | ||
|
||
build: | ||
os: "ubuntu-22.04" | ||
tools: | ||
python: "3.11" | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
configuration: docs/conf.py | ||
|
||
# Optionally build your docs in additional formats such as PDF and ePub | ||
formats: [] | ||
|
||
# Optionally set the version of Python and requirements required to build your | ||
# docs | ||
python: | ||
install: | ||
- method: pip | ||
path: . | ||
extra_requirements: | ||
- docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
prune docs | ||
prune tests | ||
prune examples | ||
exclude requirements.txt | ||
exclude requirements-dev.txt | ||
exclude .readthedocs.yml | ||
prune .github | ||
exclude MANIFEST.in | ||
exclude CHANGELOG.rst | ||
exclude Makefile | ||
exclude .gitignore | ||
exclude .coveragerc | ||
exclude .readthedocs.yml | ||
exclude .git_archival.txt | ||
exclude .gitattributes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
help: | ||
@echo "Commands:" | ||
@echo "" | ||
@echo " install install in editable mode" | ||
@echo " dev-install install in editable mode with dev requirements" | ||
@echo " pytest run the test suite and report coverage" | ||
@echo " flake8 style check with flake8" | ||
@echo " html build docs (update existing)" | ||
@echo " html-clean build docs (new, removing any existing)" | ||
@echo " preview renders docs in Browser" | ||
@echo " linkcheck check all links in docs" | ||
@echo " clean clean up all generated files" | ||
@echo "" | ||
|
||
install: | ||
python -m pip install -e . | ||
|
||
dev-install: | ||
python -m pip install -e .[all] | ||
|
||
.ONESHELL: | ||
pytest: | ||
rm -rf .coverage htmlcov/ .pytest_cache/ | ||
pytest --cov=pyfftlog --mpl | ||
coverage html | ||
|
||
flake8: | ||
flake8 docs/conf.py pyfftlog/ tests/ examples/ | ||
|
||
html: | ||
cd docs && make html | ||
|
||
html-clean: | ||
cd docs && rm -rf examples/* _build/ && make html | ||
|
||
preview: | ||
xdg-open docs/_build/html/index.html | ||
|
||
linkcheck: | ||
cd docs && make linkcheck | ||
|
||
clean: | ||
python -m pip uninstall pyfftlog -y | ||
rm -rf build/ dist/ .eggs/ pyfftlog.egg-info/ pyfftlog/version.py # build | ||
rm -rf */__pycache__/ */*/__pycache__/ # python cache | ||
rm -rf .coverage htmlcov/ .pytest_cache/ # tests and coverage | ||
rm -rf docs/_build/ docs/examples/* # docs | ||
rm docs/sg_execution_times.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.