[gnome-clocks] Make gnome-clocks installable
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks] Make gnome-clocks installable
- Date: Thu, 16 Aug 2012 12:19:29 +0000 (UTC)
commit 71e573cf1ec96fe5fcb7e07286932af842f5f84e
Author: Paolo Borelli <pborelli gnome org>
Date: Tue Aug 14 21:55:58 2012 +0200
Make gnome-clocks installable
Add a setup.py file that uses python-distutils-extra.
https://bugzilla.gnome.org/show_bug.cgi?id=681883
setup.py | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
---
diff --git a/setup.py b/setup.py
new file mode 100755
index 0000000..5616fa9
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,20 @@
+#!/usr/bin/env python
+
+from distutils.version import StrictVersion
+
+try:
+ import DistUtilsExtra.auto
+except ImportError:
+ import sys
+ print >> sys.stderr, 'To build gnome-clocks you need https://launchpad.net/python-distutils-extra'
+ sys.exit(1)
+
+DistUtilsExtra.auto.setup(
+ name='gnome-clocks',
+ description='Clock application for the GNOME Desktop',
+ version='0.1.0',
+ url='https://live.gnome.org/Clocks',
+ license='GPL',
+ author='Seif Lotfy, Emily Gonyer, Eslam Mostafa',
+)
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]