-
Notifications
You must be signed in to change notification settings - Fork 88
Windows Dev Environment with Miniconda
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
-
Install lupa from https://ci.appveyor.com/project/duk3luk3/lupa (TODO: Fix this to make proper releases) - make sure to install it into the env
Do this in a git terminal (with bash):
-
Clone faftools
-
Activate fafclient env:
source ~/Miniconda2-32/envs/fafclient/Scripts/activate fafclient
-
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:
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