GitXplorerGitXplorer
f

python-deb-packages

public
0 stars
0 forks
1 issues

Commits

List of commits on branch main.
Unverified
cc1349598df016515b36a0099fc9e58d0b47f87e

add dependencies for ubuntu 24.04 (noble numbat)

ffreddrake committed a month ago
Unverified
6fc180f06acefd4b58cbf487909c26282e072faf

add dependency specification for debian 12 "bookworm"

ffreddrake committed 6 months ago
Unverified
60c5545a3ca62fb42d7e248c82623afe43fd79f6

if platform is pop-os, pretend it's ubuntu

ffreddrake committed a year ago
Unverified
3dd296ec1aac74d151c17fbcef649bc262189e81

improve handling of dependency specifications

ffreddrake committed a year ago
Verified
61392b6d6cd9eaf8e355827658e5b5ae288a6f0c

fix descripton of installation directory

ffreddrake committed 2 years ago
Unverified
71df4e6c4d4a58b6c0608e5aae838672e02a2f18

initial commit

ffreddrake committed 2 years ago

README

The README file for this repository.

==================================== Python packaging for Debian & Ubuntu

The build-package.sh script can build .deb packages for a "clean" Python installation on Debian & Ubuntu machines with the usual required build environment already installed. The generated packages produce an installation that is independent of the "system" Python, without any 3rd-party libraries installed.

This allows creation of application packages built on top of Python without picking up libraries installed for other purposes on the system. Library versions can be managed entirely by applications, and version conflicts across applications are not an issue.

Generating a package

Build a .deb package by downloading the Python sources (use the .xz compressed tarball) in the sources directory, then run::

$ ./build-package.sh 3.6.5

replacing 3.6.5 with the version number for the Python you want to build.

The resulting Python installation will be located in /opt/cleanpython36 (again, replacing 36 with the major/minor versions from the version you specified on the command line).