Skip to content

Setting Up Development Environment

Amadeus edited this page May 6, 2018 · 7 revisions

This is a quick and dirty guide on how to set up a dev environment. This is useful if you wish to help development, or trying to track down the cause of a bug that doesn't show up in logs.

Windows

  1. Download Python 2.7 and install (default is C:\Python27):

https://www.python.org/ftp/python/2.7.11/python-2.7.11.msi

  1. Download wxPython 3.0.2.0 and install (make sure it installs to wherever you set python to install)

https://sourceforge.net/projects/wxpython/files/wxPython/3.0.2.0/wxPython3.0-win32-3.0.2.0-py27.exe/download?use_mirror=jaist

  1. Install other requirements through pip (does not include graphing support):
C:\Python27\python.exe -m pip install --upgrade pip
C:\Python27\python.exe -m pip install sqlalchemy
C:\Python27\python.exe -m pip install dateutils
C:\Python27\python.exe -m pip install requests
C:\Python27\python.exe -m pip install logbook
  1. Download current pyfa source code and extract:

https://github.com/pyfa-org/Pyfa/archive/master.zip

  1. Run pyfa through python interpreter:

C:\Python27\python.exe C:\pyfa\pyfa.py -d