File: setup-py-cleanup.dpatch

package info (click to toggle)
python-snpp 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny, squeeze
  • size: 100 kB
  • ctags: 150
  • sloc: python: 409; sh: 13; makefile: 6
file content (24 lines) | stat: -rw-r--r-- 760 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#! /bin/sh /usr/share/dpatch/dpatch-run
## setup-py-cleanup.dpatch by Bernd Zeimetz <bernd@bzed.de>
##
## DP: using distutils instead of setuptools,
## DP: more easy to backport to etch

@DPATCH@
diff -urNad python-snpp~/setup.py python-snpp/setup.py
--- python-snpp~/setup.py	2007-05-07 21:34:05.000000000 +0200
+++ python-snpp/setup.py	2007-05-15 23:36:37.000000000 +0200
@@ -15,11 +15,9 @@
 #     along with this program; if not, write to the Free Software
 #     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-# bootstrap setuptools if necessary
-from ez_setup import use_setuptools
-use_setuptools()
 
-from setuptools import setup
+
+from distutils.core import setup
 
 classifiers="""\
 Development Status :: 2 - Pre-Alpha