Reputation: 3684
I have setup a local pypi server to allow local users to install python packages developed locally using pip
.
I think that python packages are platform independent so one server will be serving all major platforms like windows, mac and linux. i.e. all users will be able to do pip install package-name
to install package on their respective OS.
However, one of the hosted package contains opencv-python compiled using C++ as library.
I dont know what to do now?
Should I setup three separate Pypi servers for each platform because C++ is platfrom dependant or can I do it with one pypi server?
Should I keep separate packages like package-mac, package-win, package-lin?
Upvotes: 0
Views: 307
Reputation: 94716
A project can upload a lot of binary wheels and binary eggs along with pure source distribution for a single release.
Example: https://pypi.org/project/Cheetah3/3.1.0/#files. This is release 3.1.0 of CheetahTemplate (full disclosure: I'm the current maintainer).
See the chapter Packaging binary extensions in Python Packaging User Guide.
Upvotes: 1