Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 233
henryJack Avatar asked Jan 02 '23 01:01

henryJack


1 Answers

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.

like image 180
henryJack Avatar answered Jan 05 '23 16:01

henryJack