mirror of
https://github.com/python/cpython.git
synced 2025-08-19 00:00:48 +00:00
removed unecessary lines for clarity and added a the same test than in trunk for the inplace
This commit is contained in:
parent
aa13a29fde
commit
8a3e345913
2 changed files with 13 additions and 3 deletions
|
@ -642,9 +642,6 @@ class build_ext (Command):
|
|||
# the inplace option requires to find the package directory
|
||||
# using the build_py command for that
|
||||
package = '.'.join(modpath[0:-1])
|
||||
modpath = fullname.split('.')
|
||||
package = '.'.join(modpath[0:-1])
|
||||
base = modpath[-1]
|
||||
build_py = self.get_finalized_command('build_py')
|
||||
package_dir = os.path.abspath(build_py.get_package_dir(package))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue