Installing Depspec

Premade Packages

Gentoo

Note: At the moment you'll most likely need an ~arch system to run depspec because of the py 2.5 and snakeoil deps.

There is an ebuild for depspec in my overlay, you could do something like the following to install it:

=dev-python/depspec-9999 **}}}

Standalone Binaries

Standalone binaries are binaries that bundle most things needed to run, these typically aren't the best to use for hacking on depspec, but can be useful for trying it out.

Windows

There's a Standalone windows binary for an older version of depspec here, just unrar and run depspec/depspec.exe to use it .

Installing Manually

if there's no Package or Standalone Binary for your OS/Distro or you want to hack on depspec you'll have to install depspec manually, this can be either decently hard or fairly easy/simple depending on the system.

Installing Python Packages

First we'll start with a bit of knowledge on python packages (if you know much about python you can probably skip this), there's a few ways to install a python package so it is available for other python code to use:

These methods apply to most python modules I'll mention here, though there's a few special cases (pygobject/pygtk/... uses autotools).

Dependencies

So let's start with installing deps, there's a few things I won't cover here:

Python (Windows)

It should be pretty simple to install python in windows, just download the Python 2.5.x installer from http://python.org/download/ . it's also probably a good idea to add the python install dir to your PATH (C:\Python25 by default, if you change it or it goes somewhere else on the system use the other path in the following instructions), to do that you could:

PyWin32 (Windows)

This should be fairly simple as well, after installing python just download the newest installer .exe from here with a -py2.5 suffix and run it going through the steps.

Gtk+ (Windows)

This one can be the killer, it's pretty awkward to install manually and requires quite a bit of time, luckily you might be able to cheat and just install an existing runtime package like the one here (the 2.10.x runtimes and 2.12 ones should be fine)

TODO: Expand on this.

PyGtk (Windows)

assuming you've got a proper install of gtk already this should be fine, just get the newest installers for PyCairo, PyGObject and PyGTK from here and install them. At this point it might be a good idea to make sure you can atleast import gtk, open up a python prompt (either by using the menu item or starting a command prompt and then running python) and doing import gtk in it, if there's no output it should be fine, if there's an exception you've got a problem :)

tfplib

TODO

depspec

TODO

DepSpec/Installing (last edited 2008-02-05 05:46:30 by localhost)