Quickstart

Dependencies

  • python 2.7 or python >= 3.3

Installation

pip

pip install sysdirs

Debian

Warning: The debian repository is experimental!

  1. Add the gpg key:

    wget -O - https://apt.rolln.de/gpg.key | apt-key add -
    
  2. Add the following lines to your /etc/apt/sources.list or create /etc/apt/sources.list.d/apt.rolln.de.list with the following content.

    (Change the <codename> accordingly):

    deb https://apt.rolln.de/debian <codename> main
    deb-src https://apt.rolln.de/debian <codename> main
    
  3. Update apt and install the package:

    apt-get update
    apt-get install python-sysdirs
    # or
    apt-get install python3-sysdirs
    

Manual

git clone https://rolln.de/knoppo/sysdirs

cd sysdirs/

python setup.py install

Tests

git clone https://rolln.de/knoppo/sysdirs

cd sysdirs/

If you have 2 or more python interpreters installed you can test them all at once using tox:

pip install tox && tox

Or run the tests with your current interpreter:

python setup.py install

pip install -r test_requirements.txt

./run_tests.py