Skip to content

Commit 4a2d463

Browse files
Jonathanlyjwkliao
authored andcommitted
delete repeated commands
1 parent 6e87ecc commit 4a2d463

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

DEVELOPER_NOTES.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,13 @@
1010
```
1111
CC=/path/to/mpicc PNETCDF_DIR=/path/to/pnetcdf/dir python3 -m build
1212
```
13-
* Publish on [TestPyPI](https://packaging.python.org/en/latest/guides/using-testpypi/) for testing
14-
1. Create TestPyPI account and update `.pypirc` as instruction
13+
* (Recommended) publish on [TestPyPI](https://packaging.python.org/en/latest/guides/using-testpypi/) for testing
14+
1. Create TestPyPI account and update `.pypirc` per TestPyPI instruction
1515
2. Publish source distribution on TestPyPI
1616
```
17-
python3 -m pip install --upgrade build twine
18-
```
19-
```
2017
python3 -m twine upload --repository testpypi dist/pnetcdf-x.x.x.tar.gz
2118
```
22-
3. Create and activate a new vanilla python env for testing. Make sure PnetCDF-C and mpich is installed. Then quick install via the distribution on TestPyPI (no python dependencies required). Note that `-i` redirects pip-install to search pnetcdf-python in testpypi index and `--extra-index-url` redirects pip-install to search dependency libraries (e.g. numpy) in official pypi index.
19+
3. Create and activate a new vanilla python env for testing. Make sure PnetCDF-C and mpich are installed. Then quick install via the distribution on TestPyPI (no python dependencies required). Note that `-i` redirects pip-install to search pnetcdf-python in testpypi index and `--extra-index-url` redirects pip-install to search dependency libraries (e.g. numpy) in official pypi index.
2320
```
2421
CC=/path/to/mpicc PNETCDF_DIR=/path/to/pnetcdf/dir pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple pnetcdf==x.x.x
2522
```

0 commit comments

Comments
 (0)