Skip to content
/ py-pkg Public

Build and packaging tools for side-by-side installations of Python.

Notifications You must be signed in to change notification settings

sellorm/py-pkg

Repository files navigation

py-pkg

Compilation and packaging tools for Python.

Status: The builds and package appear to work but little testing has been performed so far.

Overview

Sometimes you need more that one version of python installed in production settings.

Maybe you're migrating from one version to another, or perhaps you have legacy code that you want to run using a specific version.

This project provides Linux OS packages (initiallu for Ubuntu and CentOS/RedHat) that install to /opt/python/<version number> so that multiple versions can be installed side-by-side.

The installation packages are called 'python<version number>' and the package version number is actually the build number.

Builds are run using a parameterised build where the version number(s) of the Python version(s) to be built are specified at build time. The build process takes care of downloading the Python source, compiling it and packaging it for release.

Build server

If you want to build your own Python packages and have access to an Ubuntu 20.04 server, you can bootstrap a build environment with the following command...

bash <(curl -s https://raw.githubusercontent.com/sellorm/py-pkg/main/server-config.sh)

This script installs dependency packages, config files and clones this repo in order to provide an ready-to-use build environment, tailored to building python packages.

About

Build and packaging tools for side-by-side installations of Python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published