File: packaging.rst

package info (click to toggle)
genx 3.8.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 39,152 kB
  • sloc: python: 79,013; makefile: 153; sh: 92; xml: 7
file content (30 lines) | stat: -rw-r--r-- 750 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
.. _development-distribution:

*******************
How to package GenX
*******************

.. note::
    This is outdated and no more valid for GenX 3. An automatic packaging
    script is placed into the git repository to be run on github automatically.
    Only the PyPI distribution and upload to sourceforge is manual.

#. Update README.txt
#. Change the content in the ``version.py`` file
#. Create commit on git.
#. Tag a release into the tags folder.

Right now I could not get a binary OSX distribution to work, please let me know if you find a solution.

PyPI distribution
-----------------

The steps needed for PyPI are:

.. code::

    python -m build
    python -m twine upload build/*
    user: __token__
    password: {secret token}