[pygtk] setup.py: rearrange imports



commit 8bc2463cca8aea8cbd69895e37abb11cd616778b
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date:   Wed Nov 3 10:47:00 2010 +0100

    setup.py: rearrange imports

 setup.py |   20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)
---
diff --git a/setup.py b/setup.py
index b86b3a9..6413212 100755
--- a/setup.py
+++ b/setup.py
@@ -1,14 +1,24 @@
 #!/usr/bin/env python
+# -*- coding: utf-8 -*-
 #
 # setup.py - distutils configuration for pygtk
-#
-"""Python Bindings for the GTK Widget Set."""
 
-from distutils.command.build import build
-from distutils.core import setup
-import glob
+
+'''Python Bindings for the GTK+ Widget Set.
+
+PyGTK is a set of bindings for the GTK+ widget set. It provides an object
+oriented interface that is slightly higher level than the C one. It
+automatically does all the type casting and reference counting that you
+would have to do normally with the C API. You can find out more on the
+official homepage, http://www.pygtk.org/'''
+
+
 import os
 import sys
+import glob
+
+from distutils.command.build import build
+from distutils.core import setup
 
 from dsextras import get_m4_define, getoutput, have_pkgconfig, \
      pkgc_version_check, getoutput, \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]