Skip to content

Commit 9e69d76

Browse files
authored
Merge pull request #3095 from agronholm/pep-517
Allow installation of the project without a setup.py
2 parents 8f9a419 + 03f7165 commit 9e69d76

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

readthedocs/doc_builder/python_environments.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ def delete_existing_build_dir(self):
4848
shutil.rmtree(build_dir)
4949

5050
def install_package(self):
51-
setup_path = os.path.join(self.checkout_path, 'setup.py')
52-
if os.path.isfile(setup_path) and self.config.install_project:
51+
if self.config.install_project:
5352
if self.config.pip_install or getattr(settings, 'USE_PIP_INSTALL', False):
5453
extra_req_param = ''
5554
if self.config.extra_requirements:

0 commit comments

Comments
 (0)