File: install.rst

package info (click to toggle)
python-cogent 1.9-14
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 19,752 kB
  • sloc: python: 137,485; makefile: 149; sh: 64
file content (49 lines) | stat: -rw-r--r-- 1,329 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.. _quick-install:

Quick installation using pip
============================

The following assumes you have ``pip`` on your system (this comes standard with new Macs for instance), that you have made a virtualenv_ or a conda_ environment and that you're connected to the internet.

The key steps for the minimal install are:

#. Install numpy ::

    $ pip install numpy

#. Use pip to download, build and install PyCogent. ::

    $ pip install cogent

If the above fails to download PyCogent you can `download an archive <https://github.com/pycogent/pycogent>`_ to your hard drive and then do. ::
    
    $ pip install path/to/pycogent-master.zip

Optional installs
^^^^^^^^^^^^^^^^^

To use the Ensembl querying code
""""""""""""""""""""""""""""""""

    $ pip install cogent[mysql]

To use the parallel capabilities
""""""""""""""""""""""""""""""""

    $ pip install cogent[mpi]

To install all dependencies
"""""""""""""""""""""""""""

    $ pip install cogent[all]

This will install all the above and matplotlib for drawing

To use the development version of PyCogent
""""""""""""""""""""""""""""""""""""""""""

Just replace the first line of the requirements file with ``git+https://github.com/pycogent/pycogent.git``.


.. _virtualenv: https://pypi.python.org/pypi/virtualenv
.. _conda: http://conda.pydata.org/docs/