-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fix in validation of documentation construction.
Refactoring the way of declaring requirements. Devcontainer fix.
- Loading branch information
1 parent
e1becbc
commit 53c9c7f
Showing
10 changed files
with
40 additions
and
53 deletions.
There are no files selected for viewing
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
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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[project] | ||
name = "pzserver" | ||
license = {file = "LICENSE"} | ||
dynamic = ["version"] | ||
dynamic = ["version", "dependencies", "optional-dependencies"] | ||
readme = "README.md" | ||
authors = [ | ||
{ name = "LIneA", email = "[email protected]" } | ||
|
@@ -20,40 +20,6 @@ classifiers = [ | |
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
] | ||
dependencies = [ | ||
"deprecated", | ||
"numpy>=1.23", | ||
"pandas>=1.2.0", | ||
"requests>=2.23.0", | ||
"astropy>=5.0.0", | ||
"matplotlib>=3.6.0", | ||
"tables_io>=0.7.9", | ||
"Jinja2>=3.1.2", | ||
"ipython>=8.5.0", | ||
"h5py>=3.8.0", | ||
"pyarrow>=15.0.2", | ||
] | ||
|
||
# On a mac, install optional dependencies with `pip install '.[dev]'` (include the single quotes) | ||
[project.optional-dependencies] | ||
dev = [ | ||
"pytest", | ||
"pytest-cov", # Used to report total code coverage | ||
"pre-commit", # Used to run checks before finalizing a git commit | ||
"sphinx>=7.0.0,<8", # Used to automatically generate documentation | ||
"sphinx_rtd_theme>=1.2.0,<2", # Used to render documentation | ||
"sphinx-autoapi>=3.0.0,<4", # Used to automatically generate api documentation | ||
"pylint", # Used for static linting of files | ||
# if you add dependencies here while experimenting in a notebook and you | ||
# want that notebook to render in your documentation, please add the | ||
# dependencies to ./docs/requirements.txt as well. | ||
"ipykernel", # Support for Jupyter notebooks | ||
"nbconvert", # Needed for pre-commit check to clear output from Python notebooks | ||
"nbsphinx", # Used to integrate Python notebooks into Sphinx documentation | ||
"ipython", # Also used in building notebooks into Sphinx | ||
"jupyterlab", | ||
"matplotlib", # Used in sample notebook intro_notebook.ipynb | ||
] | ||
|
||
[build-system] | ||
requires = [ | ||
|
@@ -64,3 +30,7 @@ build-backend = "setuptools.build_meta" | |
|
||
[tool.setuptools_scm] | ||
write_to = "src/pzserver/_version.py" | ||
|
||
[tool.setuptools.dynamic] | ||
dependencies = {file = ["requirements.txt"]} | ||
optional-dependencies = {dev = { file = ["requirements-dev.txt"] }} |
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,13 @@ | ||
pytest | ||
pytest-cov | ||
pre-commit | ||
sphinx>=7.0.0,<8 | ||
sphinx_rtd_theme>=1.2.0,<2 | ||
sphinx-autoapi>=3.0.0,<4 | ||
pylint | ||
ipykernel | ||
nbconvert | ||
nbsphinx | ||
ipython | ||
jupyterlab | ||
matplotlib |
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,11 @@ | ||
deprecated | ||
numpy>=1.23 | ||
pandas>=1.2.0 | ||
requests>=2.23.0 | ||
astropy>=5.0.0 | ||
matplotlib>=3.6.0 | ||
tables_io>=0.7.9 | ||
Jinja2>=3.1.2 | ||
ipython>=8.5.0 | ||
h5py>=3.8.0 | ||
pyarrow>=15.0.2 |