Skip to content

Windows Dev Environment with Miniconda

Lukas Erlacher edited this page Sep 18, 2017 · 8 revisions

This is deprecated and currently does not work

Here's how to set up a dev environment for the client using Miniconda:

Miniconda env and binary packages

    conda create -n fafclient pyqt=4.11.4 pywin32
    activate fafclient

faftools

Do this in a git terminal (with bash):

  • Clone faftools
  • Activate fafclient env: source ~/Miniconda2/envs/fafclient/Scripts/activate fafclient (or maybe source /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

client

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