Alternative way to use pip for building of packages?

Asked by Howard Liu

This is about building of PPA packages from source packages.

I would like to use virtualenv in the building of my package. Virtualenv itself will download some packages through pip. However, it seems that pip is completely blocked (may be all networks are blocked except for internal networks) in the building machines of Launchpad. Therefore, there is no way to build my package.

Is there an alternative way to use pip in the building process of the PPA packages? Which part of the debian file needs to be modified?

This is my buildlog:

^ As shown by the buildlog, the building process failes when pip attempts to download packages from the internet.

Thank you very much.

Question information

English Edit question
Launchpad itself Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Colin Watson (cjwatson) said :

PPA builds are indeed not permitted to download anything from the internet; sorry. The standard approach is to package each of your dependencies first and upload those to the same PPA, if they aren't already in Ubuntu; you can then build-depend on them.

(Snap builds ( have different constraints and are permitted a limited degree of internet access, but of course that entails a different package delivery mechanism.)

Can you help with this problem?

Provide an answer of your own, or ask Howard Liu for more information if necessary.

To post a message you must log in.