Skip to main content

Set of tools which aims to help the packaging of Python projects for Debian (with a rough support for rpm packages).

lgp is mainly a wrapper around puilder that ease the creation of chroot-based environment in which lgp can build debian packages targeting several Debian or Ubuntu distributions.

The main commands provided by lgp are:

  • lgp build Build a debian package

  • lgp check Check project in the current working directory

  • lgp clean Clean the project directory

  • lgp setup Set up and manage build images

  • lgp shell Run a script or interactive shell in a chrooted distribution

Quickstart

Note: lgp uses pbuilder, so it is a good idea to have de local proxy for debian

and ubuntu repositories (eg. apt-cache or similar).

First you have to create the base archive for a targeted distribution:

~# lgp setup -c create -d wheezy -a amd64 ~# lgp setup -c create -d trusty -a i386

Note: on wheezy, debootstrap has limited knowledge of recent Ubuntu

distributions. If you want to build a chroot for an yet-unknown Ubuntu distribution, you must add them in /usr/share/debootstrap/scripts/

Simply add symlinks with the distrib codename to gutsy, like:

~# ln -s gutsy /usr/share/debootstrap/scripts/trusty

Ensure the destination directory for your built packages exists (~/dists by default):

$ mkdir ~/dists

Then you can try to build a package from its sources directory:

$ hg clone http://hg.logilab.org/master/logilab/common $ cd common $ lgp build -d wheezy

See doc/packaging_howto.txt for more informations on how to use lgp.

Release files for logilab-packaging 1.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for logilab-packaging 1.3.1
File Size Uploaded
logilab-packaging-1.3.1.tar.gz 75.9 kB Details

Release files / logilab-packaging-1.3.1.tar.gz

Download URL logilab-packaging-1.3.1.tar.gz
Size 75.9 kB
Tags Source
SHA-256 checksum
How to use checksums
11a6d7471d930ec5897b26db2891c3615b6c9c785ea7c9e1968fe7c256cf837e
BLAKE2b-256 checksum
How to use checksums
212329bc946a0cdb88bd8ff8a0ccb72f51968bdeaac48fc7330c971954ac05bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.3.1 This release

1 release file

1.3.0

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page