[python-debian/master] setup.py.in: switch to setuptools

Stefano Zacchiroli zack at upsilon.cc
Sun Apr 26 16:27:58 UTC 2009


Closes: #525694
---
 debian/changelog |    2 ++
 debian/control   |    2 +-
 setup.py.in      |    6 ++++--
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8788db4..5be5b5e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
 python-debian (0.1.14) UNRELEASED; urgency=low
 
+  * setup.py.in: switch to setuptools, which are able to generate eggs;
+    add matching build-dep on python-setuptools (Closes: #525694)
   * examples/deb822/: add new example render-dctrl, to render packages in
     a dctrl-tools pipeline (using Markdown as long description syntax)
 
diff --git a/debian/control b/debian/control
index 1b850df..df2830e 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Uploaders: Adeodato Simó <dato at net.com.org.es>,
  Reinhard Tartler <siretart at tauware.de>,
  Stefano Zacchiroli <zack at debian.org>,
  John Wright <jsw at debian.org>
-Build-Depends: debhelper (>= 5.0.37.2), python
+Build-Depends: debhelper (>= 5.0.37.2), python, python-setuptools
 Build-Depends-Indep: python-support (>= 0.3)
 Standards-Version: 3.8.1
 Vcs-Browser: http://git.debian.org/?p=pkg-python-debian/python-debian.git
diff --git a/setup.py.in b/setup.py.in
index dd4295e..3986bf2 100644
--- a/setup.py.in
+++ b/setup.py.in
@@ -16,12 +16,14 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-from distutils.core import setup
+from setuptools import setup
 
 setup(name='python-debian',
       version='__CHANGELOG_VERSION__',
       description='Debian package related modules',
-      url='http://packages.qa.debian.org/p/python-debian.html',
+      url='http://packages.debian.org/sid/python-debian',
       packages=['debian_bundle'],
       py_modules=['deb822'],
+      maintainer='Debian python-debian Maintainers',
+      maintainer_email='pkg-python-debian-maint at lists.alioth.debian.org',
      )
-- 
1.5.6.5




More information about the pkg-python-debian-commits mailing list