Skip to content

Commit e3adb0e

Browse files
authored
Merge pull request #25 from HealthCatalyst/development
Fixed documentation errors and limited PR builds to PRs targeting development.
2 parents 5bc5686 + 34a25f3 commit e3adb0e

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,20 +100,19 @@ Uninstall-Python -Version 3.6.8
100100
### New-PythonVirtualEnvironment
101101
Creates a new virtual environment using the specified version of python, and gives it the specified name.
102102
```powershell
103-
New-PythonVirtualEnvironment -ShortVersion 3.6.8 -Name FirstEnv
103+
New-PythonVirtualEnvironment -ShortVersion 3.6 -Name FirstEnv
104104
```
105-
This will create a new virtual environment in whatever location is returned by a call to `Get-VirtualEnvironmentRoot` which defaults to `C:\PythonVirtualEnvironments\`. This command automatically appends the python version to the name of the virtual environment, so the example above would create a virtual environment named `FirstEnv-3.6.8`.
105+
This will create a new virtual environment in whatever location is returned by a call to `Get-VirtualEnvironmentRoot` which defaults to `C:\PythonVirtualEnvironments`. This command automatically appends the python short version to the name of the virtual environment, so the example above would create a virtual environment named `FirstEnv-3.6`.
106106

107+
Attempting to create two virtual environments with the same name and same version of python will produce an error.
107108

108109
### Enter-PythonVirtualEnvironment
109110
Activates the specified virtual environment.
110111
```powershell
111112
Enter-PythonVirtualEnvironment -Name FirstEnv
112113
```
113114
To exit the virtual environment, execute `deactivate` in your powershell session.
114-
The `-Name` parameter only needs to be as much of the first part of the environment name as is necessary to uniquely identify it. For example, if you had two environments, one named `EnvironmentOne` and another named `EnvironmentTwo`, you would only need to type `-Name EnvironmentO` to specify `EnvironmentOne`, or `-Name EnvironmentT` to specify `EnvironmentTwo`.
115-
116-
It is not recommended to create two virtual environments with the same name if they use the same version of python.
115+
The `-Name` parameter only needs to be as much of the first part of the environment name as is necessary to uniquely identify it. For example, if you had two environments, one named `EnvironmentOne` and another named `EnvironmentTwo`, you would only need to type `-Name EnvironmentO` to specify `EnvironmentOne`, or `-Name EnvironmentT` to specify `EnvironmentTwo`. The `-Name` parameter is case sensitive.
117116

118117
### Remove-PythonVirtualEnvironment
119118
Removes the specified virtual environment. For example, assuming that there exists a virtual environment named MyEnvironment

azure_build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ jobs:
2121
2222
trigger:
2323
- development
24+
25+
pr:
26+
- development

0 commit comments

Comments
 (0)