Mercurial > hg > config
comparison .bashrc @ 780:c1ab43edf296
https://docs.python.org/3.1/distutils/uploading.html#pypi-package-display
| author | Jeff Hammel <k0scist@gmail.com> | 
|---|---|
| date | Tue, 23 Aug 2016 15:01:41 -0700 | 
| parents | 5fc00e09e805 | 
| children | 6beceb826eb0 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 779:a3a83eda831c | 780:c1ab43edf296 | 
|---|---|
| 377 fi | 377 fi | 
| 378 done | 378 done | 
| 379 } | 379 } | 
| 380 | 380 | 
| 381 distribute() { | 381 distribute() { | 
| 382 # upload to pypi | 382 # upload to pypi | 
| 383 python setup.py egg_info -RDb "" sdist register upload develop | 383 python setup.py egg_info -RDb "" sdist register upload develop | 
| 384 } | |
| 385 | |
| 386 render_long_description { | |
| 387 # check the long_description from the command line: | |
| 388 # https://docs.python.org/3.1/distutils/uploading.html#pypi-package-display | |
| 389 python setup.py --long-description | rst2html.py > output.html | |
| 384 } | 390 } | 
| 385 | 391 | 
| 386 nearest-venv() { | 392 nearest-venv() { | 
| 387 # find the nearest venv | 393 # find the nearest venv | 
| 388 if [[ "$#" == "0" ]] | 394 if [[ "$#" == "0" ]] | 
