Commit 36cbc75c authored by Luke Macken's avatar Luke Macken

Merge pull request #17 from ryazwinski/develop

gobject depenedency
parents eb893a69 a8c40ba9
...@@ -9,6 +9,7 @@ Requirements ...@@ -9,6 +9,7 @@ Requirements
~~~~~~~~~~~~ ~~~~~~~~~~~~
- gdb (https://www.gnu.org/s/gdb) (version 7.3+) - gdb (https://www.gnu.org/s/gdb) (version 7.3+)
- python-gobject-dev (on debian or ubuntu: apt-get install python-gobject-dev)
- Cython (http://cython.org) - Cython (http://cython.org)
- meliae (https://launchpad.net/meliae) - meliae (https://launchpad.net/meliae)
- easy_install/pip may not work for this install. If not, use the tarball from the distribution website - easy_install/pip may not work for this install. If not, use the tarball from the distribution website
......
...@@ -12,6 +12,12 @@ except ImportError: ...@@ -12,6 +12,12 @@ except ImportError:
print "We require meliae to be installed." print "We require meliae to be installed."
exit(1) exit(1)
try:
from gi.repository import GLib, GObject, Pango, Gtk, WebKit
except ImportError:
print "We require python-gobject-dev installed. Use: apt-get install python-gobject-dev"
exit(1)
setup(name='pyrasite', setup(name='pyrasite',
version=version, version=version,
description="Inject code into a running Python process", description="Inject code into a running Python process",
...@@ -23,7 +29,7 @@ setup(name='pyrasite', ...@@ -23,7 +29,7 @@ setup(name='pyrasite',
license='GPLv3', license='GPLv3',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True, include_package_data=True,
zip_safe=True, zip_safe=False,
install_requires=[ install_requires=[
"Cython", # Needed for meliae "Cython", # Needed for meliae
"meliae", "meliae",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment