[pypy-svn] r10255 - pypy/dist/pypy/translator/tool
hpk at codespeak.net
hpk at codespeak.net
Sat Apr 2 19:23:23 CEST 2005
Author: hpk
Date: Sat Apr 2 19:23:23 2005
New Revision: 10255
Modified:
pypy/dist/pypy/translator/tool/buildpyxmodule.py
Log:
minor import cleanup
Modified: pypy/dist/pypy/translator/tool/buildpyxmodule.py
==============================================================================
--- pypy/dist/pypy/translator/tool/buildpyxmodule.py (original)
+++ pypy/dist/pypy/translator/tool/buildpyxmodule.py Sat Apr 2 19:23:23 2005
@@ -1,8 +1,6 @@
import autopath
import py
-from py.process import cmdexec
-from py import path
from pypy.translator.genpyrex import GenPyrex
import os, sys, inspect, re
@@ -11,7 +9,7 @@
debug = 0
def make_module_from_pyxstring(name, dirpath, string):
- dirpath = path.local(dirpath)
+ dirpath = py.path.local(dirpath)
pyxfile = dirpath.join('%s.pyx' % name)
i = 0
while pyxfile.check():
@@ -50,7 +48,7 @@
include_dirs = []
dirpath = cfile.dirpath()
- lastdir = path.local()
+ lastdir = py.path.local()
os.chdir(str(dirpath))
try:
modname = cfile.purebasename
More information about the Pypy-commit
mailing list