Skip to main content

tl.buildout_gtk

A zc.buildout recipe for installing pygtk, including pygobject and pycairo.

This recipe concerns itself with the Python bindings to the GTK+ library and its dependencies, GObject and Cairo. It assumes that the C libraries are available on the system already, along with their header files.

This recipe appears to be reliable, but the feature set is basically determined by the author’s immediate needs. Don’t hesitate to send questions, bug reports, suggestions, or patches to <thomas@thomas-lotze.de>.

Options

Configuration options:
pycairo-url:

URL of the pycairo source code archive to be built.

pycairo-md5sum:

MD5 checksum of the pycairo source code archive.

pygobject-url:

URL of the pygobject source code archive to be built. If this option is given but left empty, the recipe will build only pycairo. The pygtk-url option must be given and left empty as well in this case as pygtk depends on pygobject.

pygobject-md5sum:

MD5 checksum of the pygobject source code archive.

pygtk-url:

URL of the pygtk source code archive to be built. If this option is given but left empty, the recipe will not build pygtk. The pygobject-url option may or may not be empty in this case.

pygtk-md5sum:

MD5 checksum of the pygtk source code archive.

The default values of these options correspond to the latest project versions at the time the recipe was released.

Exported options:
location:

Location of the buildout part containing the compiled Python bindings.

path:

Filesystem path to be added to the Python path in order for the bindings to be importable. This may be included in a zc.recipe.egg part’s extra-paths option, for example.

Background

There are two reasons for the existence of this recipe: setting up the build environment for pygtk & friends, and tying together the build instructions of the related projects for convenience.

The pygtk, pygobject and pycairo projects are built using a standard configure/make/make install procedure. Unfortunately, they don’t offer a configure option for specifying which Python installation to use, but attempt to install into the site packages path of the first python executable found on the system’s binary search path. This recipe has to set up a fake executable and corresponding PATH variable for the build processes.

Change log

For a continuously updated change log, see <https://svn.thomas-lotze.de/repos/public/tl.buildout_gtk/trunk/CHANGES.txt>.

Contact

This package is written by Thomas Lotze. Please contact the author at <thomas@thomas-lotze.de> to provide feedback, suggestions, or contributions.

See also <http://www.thomas-lotze.de/en/software/buildout-recipes/>.

Metadata

Release files for tl.buildout_gtk 0.1.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 tl.buildout_gtk 0.1.1
File Size Uploaded
tl.buildout_gtk-0.1.1.tar.gz 5.7 kB Details

Release files / tl.buildout_gtk-0.1.1.tar.gz

Download URL tl.buildout_gtk-0.1.1.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2132869e63a4431135a5b1bdab6a0e027cc18788b5817049b4812e7b272fccbf
BLAKE2b-256 checksum
How to use checksums
5bb376f0d473250b765c4eb042a5467ab38a0a764a9cc2cdaa8fc3f2f49f3887
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.2.2

1 release file

0.2.1

1 release file

0.2

1 release file

This release

0.1.1 This release

1 release file

0.1

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