Always try "python setup.py install" as a fallback
@@ -48,7 +48,6 @@ class PythonEnvironment(object):
def install_package(self):
if self.config.install_project:
- setup_path = os.path.join(self.checkout_path, 'setup.py')
if self.config.pip_install or getattr(settings, 'USE_PIP_INSTALL', False):
extra_req_param = ''
if self.config.extra_requirements:
@@ -65,7 +64,7 @@ class PythonEnvironment(object):
cwd=self.checkout_path,
bin_path=self.venv_bin()
)
- elif os.path.isfile(setup_path):
+ else:
self.build_env.run(
'python',
'setup.py',
