Skip to content

Installation Guide

James Draper edited this page Dec 19, 2016 · 5 revisions

If you've forked QtPandas or are contributing to the source, these are the recommended guidelines for working on the project.

Setting up the Virtual Environment

Install virtualenv if you don't already have it

pip install virtualenv

Go to the directory you want to install qtpandas in

cd C:/dev/python

Create a virtualenv for your qtpandas installation

virtualenv py34qt # Replace py34qt with your virtual environment name

Activate the virtual environment:

py34qt/Scripts/activate #On windows

Install Pyside or Qt4

See How to install Pyside and PyQt in our wiki.

##Cloning QtPandas

git clone https://github/<user>/qtpandas.git # Replace <user> with the name of the repo you're working.
cd qtpandas
python setup.py install

PyCharm (Community Edition 2016.3.1)

Configuring the new project:

  • File --> Open Project --> C:/dev/python/qtpandas
  • File --> Default Settings --> Project Interpreter --> Add C:/dev/python/py34qt/python.exe
  • File --> Settings --> Project: qtpandas --> Project Interpreter --> Add C:/dev/python/py34qt/python.exe
  • Run --> Settings --> Set py.test to default test framework.

Right click qtpandas to:

  • Add ../qtpandas/qtpandas as a Sources Root
  • Add ../qtpandas/tests as a Sources Root
  • Run py.test in tests directory.
Clone this wiki locally