-
-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to pyproject.toml + cleanup (#1158)
* Migrate to pyproject.toml + cleanup * Remove more instances of python setup.py ... * release.rst entry * Move changes to unreleased section * Remove pre-commit checks from workflows * Update `jupyter` dependencies Co-authored-by: jakirkham <jakirkham@gmail.com> * Lower pin setuptools * Document installing `build` Co-authored-by: jakirkham <jakirkham@gmail.com> * Add docs for twine and pre-commit * Add pre-commit badge to readme. * add .readthedocs.yaml Co-authored-by: jakirkham <jakirkham@gmail.com> Co-authored-by: Josh Moore <josh@openmicroscopy.org>
- Loading branch information
1 parent
2c52b17
commit 4362bb4
Showing
17 changed files
with
161 additions
and
125 deletions.
There are no files selected for viewing
File renamed without changes.
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
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 |
---|---|---|
|
@@ -67,6 +67,9 @@ zarr/version.py | |
# emacs | ||
*~ | ||
|
||
# VSCode | ||
.vscode/ | ||
|
||
# test data | ||
#*.zarr | ||
#*.zip | ||
|
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,15 @@ | ||
version: 2 | ||
|
||
build: | ||
os: ubuntu-20.04 | ||
tools: | ||
python: "3.9" | ||
|
||
sphinx: | ||
configuration: docs/conf.py | ||
|
||
python: | ||
install: | ||
- requirements: requirements_rtfd.txt | ||
- method: pip | ||
path: . |
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,80 @@ | ||
[build-system] | ||
requires = ["setuptools>=40.8.0", "wheel"] | ||
requires = ["setuptools>=40.8.0", "setuptools-scm", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
|
||
[project] | ||
name = "zarr" | ||
description = "An implementation of chunked, compressed, N-dimensional arrays for Python" | ||
readme = { file = "README.md", content-type = "text/markdown" } | ||
maintainers = [ | ||
{ name = "Alistair Miles", email = "alimanfoo@googlemail.com" } | ||
] | ||
requires-python = ">=3.8" | ||
dependencies = [ | ||
'asciitree', | ||
'numpy>=1.7', | ||
'fasteners', | ||
'numcodecs>=0.10.0', | ||
] | ||
dynamic = [ | ||
"version", | ||
] | ||
classifiers = [ | ||
'Development Status :: 6 - Mature', | ||
'Intended Audience :: Developers', | ||
'Intended Audience :: Information Technology', | ||
'Intended Audience :: Science/Research', | ||
'License :: OSI Approved :: MIT License', | ||
'Programming Language :: Python', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
'Operating System :: Unix', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3.10', | ||
] | ||
|
||
[project.optional-dependencies] | ||
jupyter = [ | ||
'notebook', | ||
'ipytree>=0.2.2', | ||
'ipywidgets>=8.0.0', | ||
] | ||
|
||
[project.urls] | ||
"Bug Tracker" = "https://github.com/zarr-developers/zarr-python/issues" | ||
Changelog = "https://zarr.readthedocs.io/en/stable/release.html" | ||
Discussions = "https://github.com/zarr-developers/zarr-python/discussions" | ||
Documentation = "https://zarr.readthedocs.io/" | ||
Homepage = "https://github.com/zarr-developers/zarr-python" | ||
|
||
|
||
[tool.setuptools] | ||
packages = ["zarr", "zarr._storage", "zarr.tests"] | ||
|
||
[tool.setuptools_scm] | ||
version_scheme = "guess-next-dev" | ||
local_scheme = "dirty-tag" | ||
write_to = "zarr/version.py" | ||
|
||
[tool.mypy] | ||
python_version = "3.8" | ||
ignore_missing_imports = true | ||
follow_imports = "silent" | ||
|
||
[tool.pytest.ini_options] | ||
doctest_optionflags = [ | ||
"NORMALIZE_WHITESPACE", | ||
"ELLIPSIS", | ||
"IGNORE_EXCEPTION_DETAIL", | ||
] | ||
addopts = [ | ||
"--durations=10", | ||
] | ||
filterwarnings = [ | ||
"error:::zarr.*", | ||
"ignore:Not all N5 implementations support blosc compression.*:RuntimeWarning", | ||
"ignore:PY_SSIZE_T_CLEAN will be required.*:DeprecationWarning", | ||
"ignore:The loop argument is deprecated since Python 3.8.*:DeprecationWarning", | ||
] |
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