-
Notifications
You must be signed in to change notification settings - Fork 53
Packaging notes
Rob Hagemans edited this page Jul 30, 2022
·
2 revisions
-
install Python 3.7.9 using python.org installer (Mac, Windows) or through apt (Linux)
-
build tools (see BUILD.md): install from pip
- Mac: use
Pillow=6.0.0
- Mac: use
-
pyserial- install from pip (all platforms?)
-
pyaudio- Linux: install from pip, first install
portaudio-19using apt. Otherwise pip needsportaudio-19-devandpython3.7-devto compile the PortAudio library. - Windows: use prebuilt wheel from https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio
- Linux: install from pip, first install
-
pyparallel- get from https://github.com/pyserial/pyparallel;
setup.py install --user - Windows:
-
pyparallel-0.2-win32.exeinstaller needsmsvcr71.dll; copy both toc:\and run as admin - copy
simpleio.dllintoc:windows\system(not sure if still needed) - we may need
giveio_setup.exefrom https://sourceforge.net/projects/pyserial/files/pyparallel/giveio/giveio_setup.exe/download
-
- get from https://github.com/pyserial/pyparallel;
- install Python 2.7.12
- install MS Visual C++ for Python 2.7. Note: needed to compile
numpy. pip install pygamepip install pysdl2-
pip install pyinstaller==3.1.1Note: 3.2 has a bug that causes it to look formsvc100and fail. -
pip install numpy==1.9.2Note: newernumpyworks, but the pip version includes the 12MiB ATLAS dll which we don't need. pip install pyserial==2.7- install SDL2 library
- install PyParallel 0.2 from https://sourceforge.net/projects/pyserial/files/pyparallel/0.2/pyparallel-0.2.win32.exe
- install NSIS 2.46 (including
strlen-8192.zip) from http://nsis.sourceforge.net/Advanced_Uninstall_Log_NSIS_Header
- install Python 2.7.14
- install MS Visual C++ for Python 2.7
pip install wheel numpy==1.9.2 pyserial cx_Freeze- install SDL2 library
- install
sdl2_gfx(seeBUILD.md) -
msvcr71.dll(for pyparallel installer, put next to the installer exe) - install PyParallel 0.2 from https://sourceforge.net/projects/pyserial/files/pyparallel/0.2/pyparallel-0.2.win32.exe
- note that
pip install pyparallelis missinggiveioandsimpleio, doesn't work out of the box
- install homebrew
brew install python@2pip install pcbasicpip install wheel pyserial cx_Freeze- for older versions we also need
pip install numpy==1.9.2 - compile SDL2,
sdl2_gfxfrom source:- compile sdl2 with
./configure & make & sudo make install. Note: needs to install to/usr/local/libfor sdl2_gfx to compile - compile sdl2_gfx with
./configure & make & sudo make install - it works now but library can't be moved, has to be in
/usr/local. See: - fix sdl2_gfx install path to sdl to
@loader_path/libSDL2.dylib(?) - change install name with
install_name_toolto a@loader_pathname, check withotool
- compile sdl2 with
- copy dylibs into
lib/(?)