- For CPython
- Mercurial
- TortoiseSVN (required to get external dependencies)
- For CoreCLR
- Visual Studio
Run GetDeps.bat
to use git to download CoreCLR and hg to download Python. It will also patch Python to have JIT support and CoreCLR to disable COM support.
Run BuildDeps.cmd
to build CoreCLR and Python (which includes downloading Python's dependencies).
- From Visual Studio
- Open the
pyjion.sln
file - Build the solution
- Open the
- Copy
Python\PCbuild\amd64\python36_d.dll
tox64\Debug\
- Copy
Python\Lib\
tox64\Debug\
- Run the tests
- From Visual Studio
4. Set the
Test
solution as the StartUp project 5. Run the solution (i.e., press F5) - From Powershell
4. Run
x64\Debug\Test.exe
- Copy
x64\Debug\pyjit.dll
to `Python\PCbuild\amd64' - Go into the
Python\
directory and launchpython.bat
You'll need to run git clean -d -f -x
in CoreCLR when switching between release and debug builds.