chore: address PR feedback

Signed-off-by: heitorlessa <lessa@amazon.co.uk>
This commit is contained in:
heitorlessa
2020-05-31 20:13:52 +01:00
parent bb1b050ab5
commit 4fb7874ca3
-12
View File
@@ -310,18 +310,6 @@ def detect_warnings(platform: str, build_options: BuildOptions) -> List[str]:
def detect_setup_pyproject_existence(package_dir: str) -> bool:
"""Detects whether setup.py, or pyproject.toml is at package dir
Parameters
----------
package_dir : str
Package directory path
Returns
-------
bool
Whether setup.py, or pyproject.toml exists
"""
exists = False
if os.path.exists(os.path.join(package_dir, 'setup.py')):
exists = True