[Lxml-checkins] r33728 - lxml/trunk

scoder at codespeak.net scoder at codespeak.net
Wed Oct 25 19:16:07 CEST 2006


Author: scoder
Date: Wed Oct 25 19:16:06 2006
New Revision: 33728

Modified:
   lxml/trunk/setup.py
Log:
support adding local Pyrex version to source distribution

Modified: lxml/trunk/setup.py
==============================================================================
--- lxml/trunk/setup.py	(original)
+++ lxml/trunk/setup.py	Wed Oct 25 19:16:06 2006
@@ -100,6 +100,8 @@
 
 # setup etree extension building
 
+sys.path.insert(0, os.path.join(src_dir, 'src')) # in case we use a local Pyrex
+
 try:
     from Pyrex.Distutils import build_ext as build_pyx
     source_extension = ".pyx"


More information about the lxml-checkins mailing list