File: PACKAGING.rst

package info (click to toggle)
python-qrcode 5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 296 kB
  • ctags: 219
  • sloc: python: 1,552; sh: 32; makefile: 22
file content (25 lines) | stat: -rw-r--r-- 445 bytes parent folder | download | duplicates (3)
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
Packaging quick reminder
========================

Ensure version numbers in ``setup.py`` and ``doc/qr.1`` have been updated.

1. Check twine and wheel are up to date::

    pip install --upgrade twine wheel

2. Delete contents of ``dist/``::

    rm -r dist

3. Package it up::

    python setup.py sdist bdist_wheel

4. Sign it::

    gpg --detach-sign -a dist/*.gz
    gpg --detach-sign -a dist/*.whl

5. Upload it::

    twine upload dist/*