Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 700 Bytes

twine_gdalos.md

File metadata and controls

25 lines (19 loc) · 700 Bytes

installing twine

python -m pip install twine wheel

uploade to twine

delete old dists

rm dist/. build/. rmdir /s/q dist rmdir /s/q build

creating the package

python setup.py bdist_wheel

uploading the dist via twine

python -m twine upload dist/*.whl

one liner to the test pypi

rm dist/. ; python setup.py bdist_wheel && python -m twine upload dist/.gz dist/.whl ; rm dist/. or (test) rm dist/. ; python setup.py bdist_wheel && python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/.whl ; rm dist/.*

upgrade gdalos

python -m pip install --upgrade gdalos or (test) python -m pip install --index-url https://test.pypi.org/simple/ --upgrade gdalos