Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 814 Bytes

pypiUpload.md

File metadata and controls

36 lines (22 loc) · 814 Bytes

Upload Package Guide

  1. Go to Package file where setup.py file exist.
cd datascienv
  1. Generate the wheel file and dist env.
python setup.py sdist bdist_wheel
  1. Once dist/* folder generated successfully. Time to upload with twine
twine upload dist/*
  1. Your package uploaded successfully.

  1. When you want to update the package must update version in setup.py file.

  1. update package on pypi.
  • For build package again follow the step 2 and then use below command to upload packages.
twine upload --repository-url https://upload.pypi.org/legacy/ dist/* --skip-existing