You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,13 @@
2
2
3
3
The steps to contribute a change are:
4
4
5
-
1. Fork the IronPython3 repository. For more information see [Getting the Sources](docs/getting-the-sources.md).
6
-
2. Build the repository. For more information see [Building](docs/building.md).
7
-
1. Make your changes on your machine, ensure ```make.ps1 test-all``` runs successfully, and commit your changes. For more information see [Modifying the Sources](docs/modifying-the-sources.md).
8
-
1. Push the commits to your fork. This way your name will be the author of the commit in the main IronPython3 tree (once the commits are pulled into the main tree).
9
-
1. Create a pull request on Github, this will initiate a code review and CLA signing request
10
-
1. The IronPython team will review, and possibly request changes, to your PR
11
-
1. Once all comments/questions/concerns have been addressed, your PR will be merged.
5
+
1. Fork the IronPython3 repository. For more information see [Getting the Sources](https://github.com/IronLanguages/ironpython3/wiki/Getting-the-sources).
6
+
2. Build the repository. For more information see [Building](https://github.com/IronLanguages/ironpython3/wiki/Building).
7
+
3. Make your changes on your machine, ensure ```make.ps1 test-all``` runs successfully, and commit your changes. For more information see [Modifying the Sources](https://github.com/IronLanguages/ironpython3/wiki/Modifying-the-sources).
8
+
4. Push the commits to your fork. This way your name will be the author of the commit in the main IronPython3 tree (once the commits are pulled into the main tree).
9
+
5. Create a pull request on Github, this will initiate a code review and CLA signing request
10
+
6. The IronPython team will review, and possibly request changes, to your PR
11
+
7. Once all comments/questions/concerns have been addressed, your PR will be merged.
12
12
13
13
Also, [Collaborative Github Workflow](http://www.eqqon.com/index.php/Collaborative_Github_Workflow) has a very good description of the workflow and tips and tricks when contributing to a project hosted on GitHub.
This example assumes that `IronPython` has been added to the C# project as a NuGet package.
52
54
53
55
## Code of Conduct
56
+
54
57
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community.
55
58
For more information see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).
56
59
57
60
## State of the Project
61
+
58
62
The current target is Python 3.4, although features and behaviors from later versions may be included.
59
63
60
64
See the following lists for features from each version of CPython that have been implemented:
@@ -68,22 +72,84 @@ See the following lists for features from each version of CPython that have been
68
72
-[What's New In Python 3.6](WhatsNewInPython36.md)
69
73
70
74
## Contributing
75
+
71
76
For details on contributing see the [Contributing](CONTRIBUTING.md) article.
72
77
73
78
## Upgrading from IronPython 2
74
-
For details on upgrading from IronPython 2 to 3 see the [Upgrading from IronPython 2 to 3](docs/upgrading-from-ipy2.md) article.
79
+
80
+
For details on upgrading from IronPython 2 to 3 see the [Upgrading from IronPython 2 to 3](https://github.com/IronLanguages/ironpython3/wiki/Upgrading-from-IronPython2) article.
75
81
76
82
## Differences with CPython
77
-
While compatibility with CPython is one of our main goals with IronPython 3, there are still some differences that may cause issues. See [Differences from CPython](docs/differences-from-c-python.md) for details.
83
+
84
+
While compatibility with CPython is one of our main goals with IronPython 3, there are still some differences that may cause issues. See [Differences from CPython](https://github.com/IronLanguages/ironpython3/wiki/Differences-from-CPython) for details.
78
85
79
86
## Package compatibility
80
-
See the [Package compatibility](docs/package-compatibility.md) document for information on compatibility with popular packages.
87
+
88
+
See the [Package compatibility](https://github.com/IronLanguages/ironpython3/wiki/Package-compatibility) document for information on compatibility with popular packages.
81
89
82
90
## Installation
83
-
Binaries of IronPython 3 can be downloaded from the [release page](https://github.com/IronLanguages/ironpython3/releases/latest), available in various formats: `.msi`, `.zip`, `.deb`, `.pkg`. The IronPython package is also available on [NuGet](https://www.nuget.org/packages/IronPython/3.4.0). See the [installation document](docs/installing.md) for detailed instructions on how to install a standalone IronPython interpreter on various operating systems and .NET frameworks.
91
+
92
+
Binaries of IronPython 3 can be downloaded from the [release page](https://github.com/IronLanguages/ironpython3/releases/latest), available in various formats: `.msi`, `.zip`, `.deb`, `.pkg`. The IronPython package is also available on [NuGet](https://www.nuget.org/packages/IronPython/latest). See the [installation document](https://github.com/IronLanguages/ironpython3/wiki/Installing) for detailed instructions on how to install a standalone IronPython interpreter on various operating systems and .NET frameworks.
93
+
94
+
### PowerShell
95
+
96
+
For usage in PowerShell, you can install using the Install-IronPython.ps1 within the aforementioned `.zip` file or by simply using this one-liner:
$engine.Execute("print('Hello from IronPython!')")
141
+
142
+
# Optionally, if you need to initialize _sqlite3:
143
+
# $engine.Execute("import sqlite3")
144
+
145
+
return $engine
146
+
}
147
+
```
84
148
85
149
## Build
86
-
See the [building document](docs/building.md). Since the main development is on Windows, bugs on other platforms may inadvertently be introduced - please report them!
150
+
151
+
See the [building document](https://github.com/IronLanguages/ironpython3/wiki/Building). Since the main development is on Windows, bugs on other platforms may inadvertently be introduced - please report them!
87
152
88
153
## Supported Platforms
154
+
89
155
IronPython 3 targets .NET Framework 4.6.2, .NET Standard 2.0, .NET 6.0 and .NET 8.0. The support for .NET and .NET Core follow the lifecycle defined on [.NET and .NET Core Support Policy](https://dotnet.microsoft.com/platform/support/policy/dotnet-core).
To build IronPython3 you will need the [.NET SDK (minimum v6.0.100)](https://dotnet.microsoft.com/download/visual-studio-sdks).
4
-
5
-
See [Getting the Sources](getting-the-sources.md) for information on getting the source for IronPython3.
6
-
7
-
## Building from Visual Studio
8
-
9
-
Visual Studio 2022 v17.0 or above is required to build IronPython3.
10
-
11
-
* Open the `IronPython.sln` solution file
12
-
* Select the configuration options (Release, Debug, etc.)
13
-
* Press Ctrl+Shift+B or F6 to build the solution
14
-
15
-
## Building from the command line
16
-
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.
18
-
19
-
On Linux/macOS you will need to install [PowerShell](https://github.com/PowerShell/PowerShell/releases)
20
-
21
-
Change the working directory to the path where you cloned the sources and run `./make.ps1`
22
-
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`
24
-
25
-
Other options available for `make.ps1` are
26
-
27
-
```
28
-
-configuration (debug/release) The configuration to build for
29
-
-platform (x86/x64) The platform to use in running tests
30
-
-runIgnored Run tests that are marked as ignored in the .ini manifests
31
-
-frameworks A comma separated list of frameworks to run tests for
32
-
(use nomenclature as is used in msbuild files for TargetFrameworks)
33
-
```
34
-
35
-
There are also other targets available for use with packaging and testing, most come in debug and release (default) versions, such as `package-debug` and `package`
36
-
37
-
```
38
-
package Creates packages supported by the current platform
39
-
stage Stages files ready for packaging
40
-
test-* Runs tests from `all` categories, `ironpython` specific tests,
41
-
`cpython` tests from the CPython stdlib test suite
42
-
```
43
-
44
-
If the build is successful the binaries are stored in `ironpython3/bin/{Configuration}/{TargetFramework}`.
45
-
46
-
## Running
47
-
48
-
The standard library is not copied over to the `bin` folder during the build process, it lives in `src/core/IronPython.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`.
1
+
This document has been moved to the IronPython wiki: [Building](https://github.com/IronLanguages/ironpython3/wiki/Building)
0 commit comments