Skip to content

Push New Version to PyPi

Michael-D-Johnson edited this page Feb 24, 2022 · 2 revisions
  • Create Github tag
    1. make sure version_tag in ./easyaccess/version.py matches Github tag
    version_tag = (1, 4, 9) 
    
  • Make sure you have twine installed on system
    pip install twine
    
  • In repository directory:
    1. Create tar.gz source file:
    python3 setup.py sdist
    
    1. Create py2-py3 build wheel
    python3 setup.py bdist_wheel --universal
    
    1. Upload build and source files to PyPi
    twine upload dist/* 
    
Clone this wiki locally