Deploy a Python project on a server with no compiler and no internet connection

view full story

http://serverfault.com – There's a Python project I want to deploy on a production server which has no internet connection and no compiler. The project is using SQLAlchemy and pip install sqlalchemy requires a compiler to work. The server is running a Debian stable version. Because Debian is what it is, packages are mainly outdated and using the system package manager is not an option. I can create a local pip mirror and a build server with the same configuration than the production one (with a compiler). Note that I want to run the code from a virtualenv. A Python virtualenv inserts absolute paths in files located (HowTos)