Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sellorm/py-pkg

Build and packaging tools for side-by-side installations of Python.
https://github.com/sellorm/py-pkg

deb-packages packaging python rpm-packages

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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/` so that multiple versions can
be installed side-by-side.

The installation packages are called 'python\' 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
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.