Skip to content

Windows Dev Environment with Miniconda

Lukas Erlacher edited this page Jan 14, 2017 · 8 revisions

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
  • 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 (With the MSI, select "Python from another location" and install it to e.g. C:\Users\Luke\Miniconda2\envs\fafclient)

faftools

Do this in a git terminal (with bash):

  • Clone faftools

  • Activate fafclient env: source ~/Miniconda2/envs/fafclient/Scripts/activate fafclient

  • 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:
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
Clone this wiki locally