# see git-dpm(1) from git-dpm package
-49b148ee4c10fdf671288331217bd4dd0304b8b4
-49b148ee4c10fdf671288331217bd4dd0304b8b4
+b1031465666db28694e2eb69c81d9ce33857f09a
+b1031465666db28694e2eb69c81d9ce33857f09a
04a25c76a33802f39e2afe4989d822c010a7e863
04a25c76a33802f39e2afe4989d822c010a7e863
python-simplemediawiki_1.0.2.orig.tar.gz
--- /dev/null
+From b1031465666db28694e2eb69c81d9ce33857f09a Mon Sep 17 00:00:00 2001
+From: Benjamin Mako Hill <mako@atdot.cc>
+Date: Mon, 9 Apr 2012 18:13:37 -0400
+Subject: use setuptools if available
+
+---
+ setup.py | 8 ++++++--
+ 1 files changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index 79a2b1e..fb1768e 100644
+--- a/setup.py
++++ b/setup.py
+@@ -1,4 +1,8 @@
+-from distutils.core import setup
++try:
++ from setuptools import setup
++except ImportError:
++ from distutils.core import setup
++
+ setup(name='simplemediawiki',
+ version='1.0.2',
+ description='Extremely low-level wrapper to the MediaWiki API',
+@@ -11,7 +15,7 @@ setup(name='simplemediawiki',
+ 'License :: OSI Approved :: GNU Library or Lesser General Public '
+ 'License (LGPL)',
+ ],
+- requires=[
++ install_requires=[
+ 'iso8601',
+ ],
+ py_modules=['simplemediawiki'])
0004-There-s-no-good-way-to-import-iso8601-apparently.patch
0005-Add-docstring-to-_fetch_http.patch
0006-Forget-about-version-checking-for-right-now.patch
+0007-use-setuptools-if-available.patch
-from distutils.core import setup
+try:
+ from setuptools import setup
+except ImportError:
+ from distutils.core import setup
+
setup(name='simplemediawiki',
version='1.0.2',
description='Extremely low-level wrapper to the MediaWiki API',
'License :: OSI Approved :: GNU Library or Lesser General Public '
'License (LGPL)',
],
- requires=[
+ install_requires=[
'iso8601',
],
py_modules=['simplemediawiki'])