File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ class Project(models.Model):
141
141
skip = models .BooleanField (_ ('Skip' ), default = False )
142
142
mirror = models .BooleanField (_ ('Mirror' ), default = False )
143
143
use_virtualenv = models .BooleanField (
144
- _ ('Use virtualenv ' ),
144
+ _ ('Install Project ' ),
145
145
help_text = _ ("Install your project inside a virtualenv using <code>setup.py "
146
146
"install</code>" ),
147
147
default = False
Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ def setup_environment(self):
309
309
# Handle setup.py
310
310
checkout_path = self .project .checkout_path (self .version .slug )
311
311
setup_path = os .path .join (checkout_path , 'setup.py' )
312
- if os .path .isfile (setup_path ):
312
+ if os .path .isfile (setup_path ) and self . project . use_virtualenv :
313
313
if getattr (settings , 'USE_PIP_INSTALL' , False ):
314
314
self .build_env .run (
315
315
'python' ,
You can’t perform that action at this time.
0 commit comments