-
Notifications
You must be signed in to change notification settings - Fork 88
Windows Dev Environment with Miniconda
Lukas Erlacher edited this page Jan 21, 2017
·
8 revisions
Here's how to set up a dev environment for the client using Miniconda:
- Install Miniconda from http://conda.pydata.org/miniconda.html (Get the Python2.7 32-Bit version!)
- Start Miniconda shell
- Set up conda-env with pyqt and pywin32:
conda create -n fafclient pyqt=4.11.4 pywin32
activate fafclient
Do this in a git terminal (with bash):
- Clone faftools
- Activate fafclient env:
source ~/Miniconda2/envs/fafclient/Scripts/activate fafclient
(or maybesource /c/Users/Luke/Miniconda2/Scripts/activate fafclient
, Miniconda is screwy) - Install lupa and bsdiff4 from https://github.com/FAForever/python-wheels/releases
- Install some deps:
pip install pillow==3.4.1
pip install marshmallow
- Now install faftools:
python setup.py install
Also in git terminal and in env, of course:
- Clone client
- Install deps:
pip install enum34 ipaddress pathlib py pycparser==2.10 pytest pytest-cov pytest-mock pytest-qt python-dateutil==2.2 requests trueskill
Now you should be able to run the client:
python src
And run tests:
python runtests.py