Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 2.83 KB

INSTALL.md

File metadata and controls

32 lines (22 loc) · 2.83 KB

Installing Xierpa

Xierpa3 is currently available from GitHub. Various possibilities are available to install the Python packages Xierpa depends on, as well as third-party applications. On OSX, you can either get the Python dependencies through easy_install, pip, or directly from the Python package index. Make sure that packages that have C/C++ bindings are compiled with the same version of GCC as the version of Python you're using. It is also possible to pull most of the Python dependencies from MacPorts or Homebrew. On Linux, most packages are available from package managers such as apt-get / aptitude or yum.

Installation

  • Add xierpa3.pth to Python site-packages, referring to the folder where Xierpa3 has been cloned from git. For example, the "site-packages" for a prepackaged Python on a recent OSX machine can be found here: /Library/Python/2.7/site-packages.
  • Copy "xierpa3/constants/config/COPYTO-config.py" to "xierpa3/constants/config.config.py" and adjust the parameters and access keys to your own settings. Make sure this config.py never writes back into git (future development is to store this file in your local user folder).
  • Create a text file in the Python site-packages directory (typically located in "/Library/Python/2.7/site-packages" for OSX) with the name "xierpa3.pth" that points to the location of the git "xierpa3" directory.
  • Open the terminal and type "python" and hit enter.
  • Then type "import xierpa3" and hit enter. If there is not error message, then the xierpa3 library is installed well.

Dependencies

Optional Dependencies

Databases

A variety of database connections is possible: local and online SQL databases, Amazon database services and S3. The access codes and IP/URL's need to be filled into the config.py or defined locally in the site application.