mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
Merged revisions 72758 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r72758 | tarek.ziade | 2009-05-18 10:03:37 +0200 (Mon, 18 May 2009) | 1 line Fixed the library extension when distutils build_ext is used inplace ........
This commit is contained in:
parent
5483fe55f5
commit
d18a84ee16
3 changed files with 9 additions and 8 deletions
|
@ -636,7 +636,8 @@ class build_ext(Command):
|
|||
base = modpath[-1]
|
||||
build_py = self.get_finalized_command('build_py')
|
||||
package_dir = os.path.abspath(build_py.get_package_dir(package))
|
||||
return os.path.join(package_dir, base)
|
||||
filename = self.get_ext_filename(ext_name)
|
||||
return os.path.join(package_dir, filename)
|
||||
else:
|
||||
filename = self.get_ext_filename(ext_name)
|
||||
return os.path.join(self.build_lib, filename)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue