Skip to content
Snippets Groups Projects
build.md 465 B
Newer Older
  • Learn to ignore specific revisions
  • tuhe's avatar
    tuhe committed
    # Unitgrade build info
    
    See https://packaging.python.org/tutorials/packaging-projects/
    
    - Build the distribution package using:
    ```
    py -m pip install --upgrade build && py -m build
    ```
    - Upload to test repo
    ```
    py -m pip install --upgrade twine && py -m twine upload --repository testpypi dist/*
    ```
    
    ### build and upload (to actual pypi; remember the .pypi token. you can find it in personal dtu repo)
    ```
    rm -f dists/* && py -m build &&  twine upload dist/*
    ```