mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Packaging cleanup: remove use of script_name where obsolete
This commit is contained in:
parent
ef3062f7af
commit
04fc999c05
6 changed files with 0 additions and 20 deletions
|
@ -65,7 +65,6 @@ class InstallLibTestCase(support.TempdirManager,
|
|||
self.write_file(f, '# python package')
|
||||
cmd.distribution.ext_modules = [Extension('foo', ['xxx'])]
|
||||
cmd.distribution.packages = [pkg_dir]
|
||||
cmd.distribution.script_name = 'setup.py'
|
||||
|
||||
# make sure the build_lib is set the temp dir
|
||||
build_dir = os.path.split(pkg_dir)[0]
|
||||
|
@ -86,7 +85,6 @@ class InstallLibTestCase(support.TempdirManager,
|
|||
self.write_file(f, '# python package')
|
||||
cmd.distribution.ext_modules = [Extension('foo', ['xxx'])]
|
||||
cmd.distribution.packages = [pkg_dir]
|
||||
cmd.distribution.script_name = 'setup.py'
|
||||
|
||||
# get_input should return 2 elements
|
||||
self.assertEqual(len(cmd.get_inputs()), 2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue