Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e0b27c8

Browse filesBrowse files
committed
Merge pull request #6433 from Perados/frameworkpython-patch-1
DOC: Make the frameworkpython script compatible with Python 3
1 parent e1d8e60 commit e0b27c8
Copy full SHA for e0b27c8

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎doc/faq/virtualenv_faq.rst

Copy file name to clipboardExpand all lines: doc/faq/virtualenv_faq.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ implemented in a script as below. To use this modify ``PYVER`` and
100100
PYTHON=${PATHTOPYTHON}python${PYVER}
101101
102102
# find the root of the virtualenv, it should be the parent of the dir this script is in
103-
ENV=`$PYTHON -c "import os; print os.path.abspath(os.path.join(os.path.dirname(\"$0\"), '..'))"`
103+
ENV=`$PYTHON -c "import os; print(os.path.abspath(os.path.join(os.path.dirname(\"$0\"), '..')))"`
104104
105105
# now run Python with the virtualenv set as Python's HOME
106106
export PYTHONHOME=$ENV

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.