Skip to content

Commit

Permalink
rtd document PyPi packaging sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
burlen committed May 6, 2021
1 parent 8ef1d31 commit 7367a25
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions doc/rtd/developer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,19 @@ to the title of the plot. Example output is shown in :numref:`prof_vis_10t_1r`.

Visualization of TECA's run time profiler for the test_bayesian_ar_detect
regression test, run with 1 MPI rank and 10 threads.


Creating PyPi Packages
----------------------
The typical sequence for pushing and testing to PyPi is as follows. Be sure to
add an rc number to the version in setup.py when testing since these are unique
and cannot be reused.

.. code-block:: bash
python3 setup.py build_ext
python3 setup.py install
python3 setup.py sdist
python3 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
pip3 install --index-url https://test.pypi.org/simple/ teca

0 comments on commit 7367a25

Please sign in to comment.