Getting Started

PyPsd is fairly easy to work with, providing you have the right things in place.

Prerequisites

  • Unix-like operating system (Linux supported, others may be spotty)
  • PyPy/CPython 2.7, with PyMySQL and NetworkX
  • MySQL or MariaDB database (MariaDB not officially supported, but confirmed to work)
  • Git (installed on the command line, used for dynamic version generation)
  • Plexus, other TS6 IRCd’s not tested
  • Anope 1.8 (with custom-built CHANSERV WHY command), soon to support stock Anope 2.0

Installation

Installing PyPsd is easy – first off, we install our dependencies. With PyPy and easy_install installed:

$ pypy -m easy_install pymysql

$ pypy -m easy_install networkx

Next, clone the PyPsd git repository:

$ git clone https://bitbucket.org/rizon/pypsd.git
Cloning into 'pypsd'...
remote: Counting objects: 163, done.
remote: Compressing objects: 100% (159/159), done.
remote: Total 163 (delta 0), reused 138 (delta 0)
Receiving objects: 100% (163/163), 237.13 KiB | 31.00 KiB/s, done.
Checking connectivity... done

$ cd pypsd

Copy the base config file, and modify it to fit your purposes:

$ cp config.ini.sample config.ini

$ vim config.ini