mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +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
|
@ -33,9 +33,7 @@ class BuildPyTestCase(support.TempdirManager,
|
|||
|
||||
dist = Distribution({"packages": ["pkg"],
|
||||
"package_dir": sources})
|
||||
# script_name need not exist, it just need to be initialized
|
||||
|
||||
dist.script_name = os.path.join(sources, "setup.py")
|
||||
dist.command_obj["build"] = support.DummyCommand(
|
||||
force=False,
|
||||
build_lib=destination,
|
||||
|
@ -89,8 +87,6 @@ class BuildPyTestCase(support.TempdirManager,
|
|||
dist = Distribution({"packages": ["pkg"],
|
||||
"package_dir": sources,
|
||||
"package_data": {"pkg": ["doc/*"]}})
|
||||
# script_name need not exist, it just need to be initialized
|
||||
dist.script_name = os.path.join(sources, "setup.py")
|
||||
dist.script_args = ["build"]
|
||||
dist.parse_command_line()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue