Fixes setup.py for OSX and WINDOWS when USE_STATIC_REQUIREMENTS=0

Fixes PR #59225

The existing tests only ran with USE_STATIC_REQUIREMENTS=1 missing the
broken code paths in setup.py
This commit is contained in:
Matthew Summers 2021-01-05 10:23:25 -06:00 committed by Pedro Algarvio
parent 9173f08d72
commit 0fe05e35d1

View file

@ -134,9 +134,7 @@ SALT_LINUX_LOCKED_REQS = [
)
]
SALT_OSX_REQS = SALT_BASE_REQUIREMENTS + [
os.path.abspath(SETUP_DIRNAME),
"requirements",
"darwin.txt",
os.path.join(os.path.abspath(SETUP_DIRNAME), "requirements", "darwin.txt")
]
SALT_OSX_LOCKED_REQS = [
# OSX packages already defined locked requirements
@ -150,9 +148,7 @@ SALT_OSX_LOCKED_REQS = [
)
]
SALT_WINDOWS_REQS = SALT_BASE_REQUIREMENTS + [
os.path.abspath(SETUP_DIRNAME),
"requirements",
"windows.txt",
os.path.join(os.path.abspath(SETUP_DIRNAME), "requirements", "windows.txt")
]
SALT_WINDOWS_LOCKED_REQS = [
# Windows packages already defined locked requirements