-
Notifications
You must be signed in to change notification settings - Fork 88
Windows Dev Py36
Lukas Erlacher edited this page Sep 26, 2017
·
20 revisions
All commands here are in a bash terminal (from MSYS-Git, but cygwin should work the same)
- Install Python 3.6
- Create virtualenv:
python -m venv <path>
(You may need to use the full path to python if you did not install it into your path) - Activate venv (how to do that depends on whether you are using cmd or bash, for bash it should be
source <path>/Scripts/activate
) pip install pyqt5
pip install https://github.com/FAForever/python-wheels/releases/download/2.0.0/pywin32-221-cp36-cp36m-win32.whl
pip install pytest
pip install -r requirements.txt
- Add pywin32 libs to path (
export PATH=<venv>/Lib/site-packages/pywin32_system32:$PATH
)
That's all! python src
and python runtests.py
should now work.
You will have to make sure the pywin32 libs are in path every time.