Dowloading package dependencies from locked down machine

Python python at python.invalid
Tue Jul 28 11:10:07 EDT 2020


Andrew McLean wrote:
> At work my only Internet access is via a locked-down PC. The IT 
> department are not willing to install Python on it [1]. Ideally I would 
> download packages and their dependencies from PyPi using "pip download" 
> at the command line. Any better solutions than downloading the package 
> in a browser, finding its dependencies manually, downloading these and 
> so on recursively?

You may want to give FPM a try: il allows you to build and provide most
of PyPI in a yum/apt repository. You can make all build on a separate
system then export rpm/deb packages.

https://github.com/jordansissel/fpm




More information about the Python-list mailing list