@@ -92,12 +92,11 @@ the following::
92
92
$ mkdir -p ~/pyenv/zarr-dev
93
93
$ python -m venv ~/pyenv/zarr-dev
94
94
$ source ~/pyenv/zarr-dev/bin/activate
95
- $ pip install -r requirements_dev_minimal.txt -r requirements_dev_numpy.txt
96
- $ pip install -e .[docs]
95
+ $ pip install -e .[test,docs]
97
96
98
97
To verify that your development environment is working, you can run the unit tests::
99
98
100
- $ python -m pytest -v zarr
99
+ $ python -m pytest -v tests
101
100
102
101
Creating a branch
103
102
~~~~~~~~~~~~~~~~~
@@ -149,7 +148,7 @@ and invoke::
149
148
Some tests require optional dependencies to be installed, otherwise
150
149
the tests will be skipped. To install all optional dependencies, run::
151
150
152
- $ pip install -r requirements_dev_optional.txt
151
+ $ pip install pytest-doctestplus
153
152
154
153
To also run the doctests within docstrings (requires optional
155
154
dependencies to be installed), run::
@@ -234,7 +233,7 @@ should run and pass as doctests under Python 3.8. To run doctests,
234
233
activate your development environment, install optional requirements,
235
234
and run::
236
235
237
- $ python -m pytest -v --doctest-plus zarr
236
+ $ python -m pytest -v --doctest-plus tests
238
237
239
238
Zarr uses Sphinx for documentation, hosted on readthedocs.org. Documentation is
240
239
written in the RestructuredText markup language (.rst files) in the ``docs `` folder.
0 commit comments