Skip to content

Commit a9e24d4

Browse files
committed
fix installation issues with setuptools<64
1 parent 995a2b1 commit a9e24d4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ applications that require parallel access to netCDF files.
2020
### Developer Installation
2121
* Clone this GitHub repository
2222
* Make sure the above dependent software are installed.
23-
* In addition, [Cython](http://cython.org/), [packaging](https://pypi.org/project/packaging/) and ['wheel'](https://pypi.org/project/wheel/) are required for developer installation.
23+
* In addition, [Cython](http://cython.org/), [packaging](https://pypi.org/project/packaging/), [setuptools>=65](https://pypi.org/project/setuptools/) and [wheel](https://pypi.org/project/wheel/) are required for developer installation.
2424
* Set the environment variable `PNETCDF_DIR` to PnetCDF's installation path.
2525
* Make sure utility program `pnetcdf-config` is available in `$PNETCDF_DIR/bin`.
2626
* Run command below to install.

docs/source/installation/install.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ Building PnetCDF-python from source
4646
# use Python 3.9 or later
4747
$ python -m venv env
4848
$ source env/bin/activate
49-
$ pip install --upgrade pip
49+
$ pip install --upgrade pip setuptools wheel packaging
5050
5151
# install Python libraries
52-
$ pip install numpy Cython setuptools wheel packaging
52+
$ pip install numpy Cython
5353
$ env CC=/path/to/mpicc pip install mpi4py
5454
5555
# download PnetCDF-python source code

0 commit comments

Comments
 (0)