Support #877
Updated by Daniel Curtis about 8 years ago
{{>toc}} This is a guide for setting up FlowCytometryTools on Arch Linux. h2. Prepare the Environment * Make sure the system is up to date: <pre> pacman -Syyuu </pre> * Install a few dependencies: <pre> pacman -S gcc-fortran-multilib git freetype2 pkgconf png </pre> *NOTE*: The +multilib+ repository must be enabled in the pacman config file. *NOTE*: To use the FlowCytometryTools GUI, wxPython must be installed as well: <pre> pacman -S wxpython2.8 </pre> * Setup a Python development envirnoment, refer to issue #876 h2. Install FlowCytometry with Pip * Switch to the pydev user: <pre> su - pydev </pre> * Create the FlowCytometryTools virtualenv: <pre> virtualenv2 FCT </pre> * Activate the virtualenv: <pre> source ./FCT/bin/activate </pre> * *NOTE*: If using the GUI utility, create a symbolic link of the host wxpython library in the virtualenv library: <pre> ln -s /usr/lib/python2.7/site-packages/wx.pth ~/venv/FCT/lib/python2.7/site-packages/ </pre> * Install FlowCytometryTools: <pre> pip --no-cache-dir install flowcytometrytools </pre> *NOTE*: I needed to install ipython inside the virtualenv, deactivate, then reactivate for the interactive shell to work: <pre> pip install ipython </pre> h2. Install FlowCytometryTools from GitHub * Switch to the pydev user: <pre> su - pydev </pre> * Create the FlowCytometryTools virtualenv: <pre> virtualenv FCT </pre> * Activate the virtualenv: <pre> source ./FCT/bin/activate </pre> * Clone the FlowCytometryTools from GitHub: <pre> git clone https://github.com/eyurtsev/FlowCytometryTools.git cd FlowCytometryTools </pre> * Run the install script: <pre> python setup.py install </pre> h2. Resources * https://github.com/eyurtsev/FlowCytometryTools * https://pypi.python.org/pypi/FlowCytometryTools * http://eyurtsev.github.io/FlowCytometryTools/install.html * http://eyurtsev.github.io/FlowCytometryTools/tutorial.html