File python-propane-setup.patch of Package python-propane

From: Thomas Schraitle <toms@opensuse.org>
Date: 2014-01-26 11:59:14
Subject: Remove any dependencies to distribute
References: n/a

Don't import distribute_setup as this leads to downloading
distribute inside OBS which is not possible.

As distribute is also obsolete, we better use the old/new
setuptools.

--- setup.py.bak	2014-01-26 11:59:14.238928747 +0100
+++ setup.py	2014-01-26 11:59:21.412016078 +0100
@@ -1,13 +1,13 @@
 # coding=utf-8
 # Bootstrap installation of Distribute
-import distribute_setup
+# import distribute_setup
 
-distribute_setup.use_setuptools()
+# distribute_setup.use_setuptools()
 
 import os, sys
 from fnmatch import fnmatchcase
-from distutils.util import convert_path
-from setuptools import setup, find_packages
+# from distutils.util import convert_path
+from setuptools import setup, find_packages, convert_path
 from propane import __version__ as version
 
 PROJECT = 'propane'
openSUSE Build Service is sponsored by