[MapProxy] EXT :Re: Install MapProxy w/out internet connectivity

Pratt, Jerald R (IS) jerald.pratt at ngc.com
Wed Apr 15 14:36:33 PDT 2015

I'm looking at a few things that you suggest but I'm working with RHEL and not Debian/Ubuntu.  I have been able to download some of the python packages from PyPI but when I try to install them the install is trying to compile stuff with gcc which I don't/can't have installed.

I can set up a machine to install all of these packages properly (with a compiler) but I don't know how I can repackage these for installation on another machine.  Any suggestions on how to do this?  Is it possible to package up some of these PyPI packages that have already been installed (and probably compiled in the process) to be installed else where?


From: Paul Norman [mailto:penorman at mac.com]
Sent: Thursday, April 02, 2015 1:12 PM
To: Pratt, Jerald R (IS); mapproxy at lists.osgeo.org
Subject: EXT :Re: [MapProxy] Install MapProxy w/out internet connectivity

On 4/2/2015 11:54 AM, Pratt, Jerald R (IS) wrote:

I'm using RHEL 6 and need to be able to install MapProxy and any/all dependencies not already installed by default without internet connectivity.  Looking through the docs all that I can find is the use of pip or easy_install which both require internet access to install MapProxy.

Is there a way to install MapProxy without internet connectivity?  It's not an issue of a firewall or proxy server, I need to install this software on servers connected to a disconnected network.  Preferably version 1.5.0 or beyond.
This is a similar problem to how to package python, ruby and node modules for inclusion with an OS package manager

There's three techniques I can see using, depending on your infrastructure. I'm assuming you have access to machines with internet connectivity, and some way to get OS package updates onto the offline machine. (e.g. running an internal mirror of your OS packages)

- Install MapProxy on a machine with internet connectivity, and package it up (e.g. with Jenkins)

- Package MapProxy for your OS, and any dependency packages. This is a fairly standard task as many distros will include python packages in their packages. See all the Debian/Ubuntu python-* packages for an example

- Use PIP offline. Searching "python pip offline" should give some results, and http://stackoverflow.com/questions/11091623/python-packages-offline-installation looks relevant.

A lot of it depends on why your server is offline. If its offline for security reasons (i.e. behind an airgap network) you'll have different concerns than if it's because it's in a remote location.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20150415/eb3874c8/attachment.html>

More information about the MapProxy mailing list