Mercurial > hg > config
comparison .bashrc @ 915:0bb00763f6d2
update distribute for modern python packaging
| author | Jeff Hammel <k0scist@gmail.com> | 
|---|---|
| date | Mon, 27 May 2024 16:44:09 -0700 | 
| parents | 5d9c08d2a090 | 
| children | 6ebd7de4d85e | 
   comparison
  equal
  deleted
  inserted
  replaced
| 914:016d27ca39e4 | 915:0bb00763f6d2 | 
|---|---|
| 382 done | 382 done | 
| 383 } | 383 } | 
| 384 | 384 | 
| 385 distribute() { | 385 distribute() { | 
| 386 # upload to pypi | 386 # upload to pypi | 
| 387 python setup.py egg_info sdist register upload develop | 387 python setup.py egg_info sdist develop && twine upload dist/* | 
| 388 } | 388 } | 
| 389 | 389 | 
| 390 render_long_description() { | 390 render_long_description() { | 
| 391 # check the long_description from the command line: | 391 # check the long_description from the command line: | 
| 392 # https://docs.python.org/3.1/distutils/uploading.html#pypi-package-display | 392 # https://docs.python.org/3.1/distutils/uploading.html#pypi-package-display | 
