Installation

Stable release

To install cellpy, run this command in your terminal:

$ pip install cellpy

This is the preferred method to install cellpy, as it will always install the most recent stable release.

If you don’t have pip installed, this Python installation guide can guide you through the process.

cellpy uses setuptools, and the developers of setuptools recommend notifying the users the following:

  • if you would like to install cellpy to somewhere other than the main site-packages directory, then you should first install setuptools using the instructions for Custom Installation Locations, before installing cellpy.

If this is the first time you install cellpy, it is recommended that you run the setup script:

$ cellpy setup

This will install a _cellpy_prms_USER.config file in your home directory (USER = your user name). Edit this file and save it as _cellpy_prms_OTHERNAME.conf to prevent it from being written over in case the setup script is run on a later occasion.

You can restore your prms-file by running cellpy setup if needed (i.e. get a copy of the default file copied to your user folder).

Note

At the moment, I have not really figured out how to implement and install something for reading access database files on other operating systems than windows. So, for now, I guess cellpy only will work on windows (and automatic building with Travis gets challenging).

From sources

The sources for cellpy can be downloaded from the Github repo.

You can either clone the public repository:

$ git clone git://github.com/jepegit/cellpy

Or download the tarball:

$ curl  -OL https://github.com/jepegit/cellpy/tarball/master

Once you have a copy of the source, you can install it with:

$ python setup.py install