Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs update for virtual environments #448

Merged
merged 1 commit into from
Dec 9, 2024
Merged

Docs update for virtual environments #448

merged 1 commit into from
Dec 9, 2024

Conversation

aspeake
Copy link
Collaborator

@aspeake aspeake commented Dec 3, 2024

More detailed explanations of setting up Scout in a virtual environment.

@@ -357,7 +357,7 @@


# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'https://docs.python.org/3': None}
# intersphinx_mapping = {'https://docs.python.org/3': None}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not used and was failing locally with the latest version of sphinx-build

@@ -44,7 +44,7 @@ Mac OS
0. (Optional) Install a package manager
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The Mac OS ships with Python already installed. Installing and using a package manager will make it easy to ensure that any additional installations of Python do not interfere with the version of Python included with the operating system. Homebrew_ is a popular package manager, but there are other options, such as MacPorts and Fink.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No longer true


Once Python 3 installation is complete and a virtual environment is activated, the Scout package and its dependencies can be installed. pip [#f1]_ is the tool you will use to install add-ons specific to Python 3. Run the following from your Scout installation directory to install the Scout package::

python -m pip install .
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: with the assumption that a virtual environment is used, python is the command to point to the correct version inside the virtual env. Even without an environment, python should still work for Windows users if it was added to PATH at install. I updated to use python instead of py -3 throughout the docs.

@aspeake aspeake requested a review from jtlangevin December 3, 2024 23:15
@aspeake aspeake added this to the v1.0.1 milestone Dec 3, 2024
@jtlangevin jtlangevin merged commit 0e9348f into master Dec 9, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants