2013-06-30 19:30:17 +00:00
|
|
|
.. include:: global.rst.inc
|
|
|
|
.. _installation:
|
|
|
|
|
|
|
|
Installation
|
2013-07-31 18:51:01 +00:00
|
|
|
============
|
2013-06-30 19:30:17 +00:00
|
|
|
|
2013-07-03 20:38:07 +00:00
|
|
|
|project_name| requires Python_ 3.2 or above to work. Even though Python 3 is
|
2014-02-04 02:26:36 +00:00
|
|
|
not the default Python version on most Linux distributions, it is usually
|
2013-06-30 19:30:17 +00:00
|
|
|
available as an optional install.
|
|
|
|
|
|
|
|
Other dependencies:
|
|
|
|
|
|
|
|
* `msgpack-python`_ >= 0.1.10
|
|
|
|
* OpenSSL_ >= 1.0.0
|
|
|
|
|
2013-07-30 11:54:04 +00:00
|
|
|
The OpenSSL version bundled with Mac OS X and FreeBSD is most likey too old.
|
|
|
|
Newer versions are available from homebrew_ on OS X and from FreeBSD ports.
|
2013-06-30 19:30:17 +00:00
|
|
|
|
2014-02-04 02:26:36 +00:00
|
|
|
The llfuse_ python package is also required if you wish to mount an
|
|
|
|
archive as a FUSE filesystem.
|
|
|
|
|
2013-06-30 19:30:17 +00:00
|
|
|
Installing from PyPI using pip
|
|
|
|
------------------------------
|
|
|
|
::
|
|
|
|
|
2013-07-08 21:38:27 +00:00
|
|
|
$ pip install Attic
|
2013-06-30 19:30:17 +00:00
|
|
|
|
|
|
|
Installing from source tarballs
|
|
|
|
-------------------------------
|
2013-07-08 19:19:50 +00:00
|
|
|
.. parsed-literal::
|
2013-06-30 19:30:17 +00:00
|
|
|
|
2013-07-08 19:19:50 +00:00
|
|
|
$ curl -O |package_url|
|
2013-07-08 21:38:27 +00:00
|
|
|
$ tar -xvzf |package_filename|
|
2013-07-08 19:19:50 +00:00
|
|
|
$ cd |package_dirname|
|
2013-06-30 19:30:17 +00:00
|
|
|
$ python setup.py install
|
|
|
|
|
|
|
|
Installing from git
|
|
|
|
-------------------
|
2013-07-08 21:38:27 +00:00
|
|
|
.. parsed-literal::
|
2013-06-30 19:30:17 +00:00
|
|
|
|
2013-07-08 21:38:27 +00:00
|
|
|
$ git clone |git_url|
|
|
|
|
$ cd attic
|
2013-06-30 19:30:17 +00:00
|
|
|
$ python setup.py install
|
2014-01-26 11:51:56 +00:00
|
|
|
|
2014-02-04 02:26:36 +00:00
|
|
|
Please note that when installing from git, Cython_ is required to generate some files that
|
2014-01-26 11:51:56 +00:00
|
|
|
are normally bundled with the release tarball.
|
2014-02-04 02:26:36 +00:00
|
|
|
|
|
|
|
Packages
|
|
|
|
--------
|
|
|
|
|
2014-03-12 20:00:30 +00:00
|
|
|
|project_name| is also part of the Debian_, Ubuntu_, `Arch Linux`_ and Slackware_
|
2014-02-04 02:26:36 +00:00
|
|
|
distributions of GNU/Linux.
|