Skip to content

Commit f2b11f0

Browse files
mwlonnormanrz
andauthored
Fixed setup commands in contributing doc (#543)
* fixed description in contributing doc and made it more future-proof * rst, not md --------- Co-authored-by: Norman Rzepka <[email protected]>
1 parent b248426 commit f2b11f0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/contributing.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@ Creating a development environment
9292
To work with the NumCodecs source code, it is recommended to set up a Python virtual
9393
environment and install all NumCodecs dependencies using the same versions as are used by
9494
the core developers and continuous integration services. Assuming you have a Python
95-
3 interpreter already installed, and have also installed the virtualenv package, and
96-
you have cloned the NumCodecs source code and your current working directory is the root of
97-
the repository, you can do something like the following::
95+
3 interpreter already installed matching the ``requires-python`` constraint from
96+
``pyproject.toml``, and you have cloned the NumCodecs source code and your
97+
current working directory is the root of the repository, you can do something
98+
like the following::
9899

99-
$ mkdir -p ~/pyenv/numcodecs-dev
100-
$ virtualenv --no-site-packages --python=/usr/bin/python3.9 ~/pyenv/numcodecs-dev
100+
$ python3 -m venv ~/pyenv/numcodecs-dev
101101
$ source ~/pyenv/numcodecs-dev/bin/activate
102102
$ pip install -e .[docs,test,msgpack,zfpy]
103103

0 commit comments

Comments
 (0)