Mercurial > hgrepos > Python > apps > py-cutils
comparison _postprocess-sdist.py @ 288:57102b9d7ec9
Add some minimal docs into _postprocess-sdist.py
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 24 Feb 2025 02:19:26 +0100 |
| parents | e42a4486a007 |
| children | 2acf206a8fdf |
comparison
equal
deleted
inserted
replaced
| 287:e42a4486a007 | 288:57102b9d7ec9 |
|---|---|
| 1 # -*- coding: utf-8 -*- | 1 # -*- coding: utf-8 -*- |
| 2 """Postprocress a .tar-sdist to include tests/data with symlinks as symlinks | 2 """Postprocress a .tar-sdist to include tests/data with symlinks as symlinks. |
| 3 | |
| 4 Produce an sdist with all the data in :file:`tests/data/`:: | |
| 5 | |
| 6 rm -rf dist py_cutils.egg-info | |
| 7 python setup.py sdist | |
| 8 python _postprocess-sdist.py | |
| 9 gzip dist/*.tar | |
| 3 | 10 |
| 4 """ | 11 """ |
| 5 | 12 |
| 6 from __future__ import print_function, absolute_import | 13 from __future__ import print_function, absolute_import |
| 7 | 14 |
