Search code examples
pythonpypipython-wheel

How do you upload a single wheel file to a pypi server?


I have a wheel file for a compiled package from here. I would like to host this on my internal pypi server. Is it possible?


Solution

  • Yes! Just change to the directory where your wheel file is, then...

    pip install twine
    twine upload file_name.whl --repository-url https://pip.server_name.com/
    

    You may be asked to enter you pypi username and password if required. The uploaded package name will be the same as the local filename.