Annotation of /trunk/lxml/patches/lxml-2.2.1-no-fake-pyrex.patch
Parent Directory | Revision Log
Revision 853 -
(hide annotations)
(download)
Mon Jun 15 22:50:56 2009 UTC (15 years, 3 months ago) by niro
File size: 442 byte(s)
Mon Jun 15 22:50:56 2009 UTC (15 years, 3 months ago) by niro
File size: 442 byte(s)
lxml patches
1 | niro | 853 | --- setup.py 2008-04-07 15:10:32.989740409 +0300 |
2 | +++ setup.py 2008-04-07 15:11:13.897709903 +0300 | ||
3 | @@ -4,10 +4,9 @@ | ||
4 | |||
5 | try: | ||
6 | import Cython | ||
7 | - # may need to work around setuptools bug by providing a fake Pyrex | ||
8 | - sys.path.insert(0, os.path.join(os.path.dirname(__file__), "fake_pyrex")) | ||
9 | except ImportError: | ||
10 | - pass | ||
11 | + print >>sys.stderr, "lxml requires cython-0.9.6.10 or later." | ||
12 | + sys.exit(1) | ||
13 | |||
14 | try: | ||
15 | import pkg_resources |