Skip to content

Commit a29a422

Browse files
committed
Update building.md
1 parent 5c634e3 commit a29a422

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

Documentation/building.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,27 @@ See [Getting the Sources](getting-the-sources.md) for information on getting the
88

99
Visual Studio 2019 v16.8 or above is required to build IronPython3.
1010

11-
* Open `c:\path\to\ironpython3\IronPython.sln` solution file
12-
* Select the configuration options (Release,Debug, etc)
11+
* Open the `IronPython.sln` solution file
12+
* Select the configuration options (Release, Debug, etc.)
1313
* Press Ctrl+Shift+B or F6 to build the solution
1414

1515
## Building from the command line
1616

17-
IronPython3 uses PowerShell to run the build and testing from the command line. You can either use a PowerShell directly, or prefix the commands below with `powershell` on Windows, or `pwsh` on Linux/macOS.
17+
IronPython3 uses PowerShell to run the build and testing from the command line. You can either use a PowerShell directly, or prefix the commands below with `powershell` on Windows, or `pwsh` on Linux/macOS.
1818

1919
On Linux/macOS you will need to install [PowerShell](https://github.com/PowerShell/PowerShell/releases)
2020

2121
Change the working directory to the path where you cloned the sources and run `./make.ps1`
2222

23-
By default, with no options, make.ps1 will build Release mode binaries. If you would like to build debug binaries, you can run `./make.ps1 debug`
23+
By default, with no options, `make.ps1` will build the `Release` mode binaries. If you would like to build `Debug` binaries, you can run `./make.ps1 debug`
2424

2525
Other options available for `make.ps1` are
2626

2727
```
2828
-configuration (debug/release) The configuration to build for
2929
-platform (x86/x64) The platform to use in running tests
3030
-runIgnored Run tests that are marked as ignored in the .ini manifests
31-
-frameworks A comma separated list of frameworks to run tests for
31+
-frameworks A comma separated list of frameworks to run tests for
3232
(use nomenclature as is used in msbuild files for TargetFrameworks)
3333
```
3434

@@ -37,12 +37,14 @@ There are also other targets available for use with packaging and testing, most
3737
```
3838
package Creates packages supported by the current platform
3939
stage Stages files ready for packaging
40-
test-* Runs tests from `all` categories, `ironpython` specific tests,
40+
test-* Runs tests from `all` categories, `ironpython` specific tests,
4141
`cpython` tests from the CPython stdlib test suite
4242
```
4343

4444
If the build is successful the binaries are stored in `ironpython3/bin/{Configuration}/{TargetFramework}`.
4545

46-
## Run
46+
## Running
4747

48-
Before run the IronPython3, you should set the environment variable `IRONPYTHONPATH` to `Src/StdLib/Lib/`.
48+
The standard library is not copied over to the `bin` folder during the build process, it lives in `Src/StdLib/Lib`.
49+
- When running the `Release` configuration executable, you should set the environment variable `IRONPYTHONPATH` to this folder.
50+
- When running the `Debug` configuration executable, this folder is automatically added to `sys.path`.

0 commit comments

Comments
 (0)