Lisandro Dalcin wrote:
Robert, your change requires a bit more of work. Inside pyximport/ you
have a Setup.py file plus some other stuff, like a README. Perhaps
Setup.py could be removed, and the pyximport/README contents could be
added as a docstring inside pyximport/__init__.py

The README doesn't get installed. The Setup.py does get installed, but is harmless. I've removed it, though, in the attached patch.

Cython builds, installs (both as an egg and as a regular install), and pyximport works according to my ad hoc testing (pyximport.install(), then importing and running some of the modules in tests/run/) with the attached patch.

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco
diff -r f4b39b81687b setup.py
--- a/setup.py  Wed Sep 03 18:24:45 2008 +0200
+++ b/setup.py  Mon Oct 06 18:32:29 2008 -0500
@@ -97,10 +97,8 @@
 
     'Cython.Tests',
     'Cython.Compiler.Tests',
+    'pyximport',
     ],
-  
-  # pyximport
-  py_modules = ["pyximport/pyximport", "pyximport/pyxbuild"],
   
   **setup_args
   )
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to