db9ac60379c7bbd0f2fe15d2f6227eabdcbdded1
[openwrt/svn-archive/archive.git] / lang / python-evas / patches / 000-prevent-using-setuptools.patch
1 diff -ruN python-evas-r37637.orig/setup.py python-evas-r37637/setup.py
2 --- python-evas-r37637.orig/setup.py 2009-01-03 02:04:31.000000000 +0100
3 +++ python-evas-r37637/setup.py 2009-01-04 11:50:39.000000000 +0100
4 @@ -1,10 +1,7 @@
5 import sys
6 import os
7
8 -from ez_setup import use_setuptools
9 -use_setuptools('0.6c3')
10 -
11 -from setuptools import setup, find_packages, Extension
12 +from distutils.core import setup, Extension
13 from distutils.command.install_headers import install_headers
14 from distutils.sysconfig import get_python_inc
15 import subprocess
16 @@ -142,7 +139,7 @@
17 long_description=long_description,
18 keywords='wrapper binding enlightenment graphics raster evas canvas',
19 classifiers=trove_classifiers,
20 - packages=find_packages(),
21 + packages=['evas'],
22 headers=headers,
23 ext_modules=[evasmodule],
24 zip_safe=False,