Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am pwithnall on github.
  • I am pwithnall (https://keybase.io/pwithnall) on keybase.
  • I have a public key whose fingerprint is 923B 7025 EE03 C1C5 9F42 684C F094 2E89 4B2E AFA0

To claim this, I am signing this object:

@pwithnall
pwithnall / version.py
Last active February 28, 2024 13:07 — forked from Changaco/version.py
Extract Python module version from git tags and repository status
# This program is placed into the public domain.
"""
Gets the current version number.
If in a git repository, it is the current git tag.
Otherwise it is the one contained in the PKG-INFO file.
To use this script, simply import it in your setup.py file
and use the results of get_version() as your package version:

Keybase proof

I hereby claim:

  • I am pwithnall on github.
  • I am pwithnall (https://keybase.io/pwithnall) on keybase.
  • I have a public key ASAdfOh3XR5WIwKuU57x2AQXqZP9YLBKdZhD0kCkx-zC7Qo

To claim this, I am signing this object:

@pwithnall
pwithnall / debian.diff
Last active February 21, 2019 14:41
git diff new-master..debian-master -- debian/
diff --git a/debian/changelog b/debian/changelog
index c9166cfea..f383da5c2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,609 +1,49 @@
-glib2.0 (2.59.3-1endless0) experimental; urgency=medium
+glib2.0 (2.54.2-1endless4) eos; urgency=medium
- * Rebase on git-based Debian packaging of glib-2.0 (T25384)
- This obsoletes the debian-master branch. The debian/ directory will now
@pwithnall
pwithnall / upstream.diff
Last active February 21, 2019 14:41
git diff new-master..upstream/2.59.2 !(debian)
diff --git a/docs/reference/glib/running.xml b/docs/reference/glib/running.xml
index ec33ea625..8e4ffeca3 100644
--- a/docs/reference/glib/running.xml
+++ b/docs/reference/glib/running.xml
@@ -256,24 +256,6 @@ How to run and debug your GLib application
</para>
</formalpara>
-<formalpara id="G_HOME">
- <title><envar>G_HOME</envar></title>