Skip to content

Commit

Permalink
Merge pull request #330 from yeiniel/master
Browse files Browse the repository at this point in the history
corrected the support for selecting from multiple python interpreters
  • Loading branch information
ericholscher committed Mar 1, 2013
2 parents ae00b42 + 75048a4 commit 96b3865
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions readthedocs/projects/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,10 @@ class ImportProjectForm(ProjectForm):
repo = forms.CharField(required=True,
help_text=_(u'URL for your code (hg or git). Ex. http://github.com/ericholscher/django-kong.git'))

"""
python_interpreter = forms.ChoiceField(
choices=constants.PYTHON_CHOICES, initial='python',
help_text=_("(Beta) The Python interpreter used to create the virtual environment."))
"""


class Meta:
model = Project
fields = (
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/projects/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def update_imported_docs(version_pk):
# Here the command has been modified to support different
# interpreters.
update_docs_output['venv'] = run('{cmd} --distribute {site_packages} {path}'.format(
cmd='{interpreter} -m virtualenv'.format(
cmd='virtualenv -p {interpreter}'.format(
interpreter=project.python_interpreter),
site_packages=site_packages,
path=project.venv_path(version=version_slug)))
Expand Down

0 comments on commit 96b3865

Please sign in to comment.