Don't just check for setup.cfg.
This commit is contained in:
parent
9fe6ec8dbc
commit
f5aa0b3a3a
1 changed files with 0 additions and 3 deletions
|
@ -522,9 +522,6 @@ class SetupPy(BuildSystem):
|
||||||
if os.path.exists(os.path.join(path, "setup.py")):
|
if os.path.exists(os.path.join(path, "setup.py")):
|
||||||
logging.debug("Found setup.py, assuming python project.")
|
logging.debug("Found setup.py, assuming python project.")
|
||||||
return cls(path)
|
return cls(path)
|
||||||
if os.path.exists(os.path.join(path, "setup.cfg")):
|
|
||||||
logging.debug("Found setup.py, assuming python project.")
|
|
||||||
return cls(path)
|
|
||||||
if os.path.exists(os.path.join(path, "pyproject.toml")):
|
if os.path.exists(os.path.join(path, "pyproject.toml")):
|
||||||
logging.debug("Found pyproject.toml, assuming python project.")
|
logging.debug("Found pyproject.toml, assuming python project.")
|
||||||
return cls(path)
|
return cls(path)
|
||||||
|
|
Loading…
Add table
Reference in a new issue