/pyvcs-python

Fork of Python 3.9.6 modified for pyvcs

Primary LanguagePythonOtherNOASSERTION

pyvcs-python

This repo is a Python interpreter for the pyvcs (Python Video Computer System) fantasy console. See that repo for details about the project.

This is a fork of Python 3.9.6 with a modified eval loop to call the pyvcs system code while executing user code. The rest of the pyvcs implementation is in the pyvcs repo.

Currently you need to build pyvcs-python on your machine. We're planning on releasing prebuilt executables in the future.

Building pyvcs-python

Clone this repository locally and then follow the platform-specific instructions below:

Windows

  • Install Microsoft Visual Studio 2017 with Python workload and Python native development component. (From the python PCBuild readme: )

Then from PowerShell run:

.\PCbuild\build.bat -e --pgo -q

See the official python PC build readme for troubleshooting.

Ubuntu (Untested)

From bash run:

sudo apt-get install libportaudio2
./configure --enable-optimizations --with-lto
make -j8

Fedora (Tested, Working)

From bash run:

sudo dnf install portaudio
./configure --enable-optimizations --with-lto
make -j8

Mac (Untested)

From bash run:

HOMEBREW_NO_AUTO_UPDATE=1 brew install openssl xz gdbm openblas
./configure --with-openssl=$(brew --prefix openssl) --enable-optimizations --with-lto
make -j8

Setting a new version(?)

Run:

autoconf