Add vext.pygtk to tox to attempt pygtk warning fix.

This commit is contained in:
danyeaw 2017-05-09 20:17:30 -04:00
parent dce043f488
commit ca2dd3a624
2 changed files with 34 additions and 4 deletions

26
pygtk.vext Normal file
View File

@ -0,0 +1,26 @@
# Pygtk vext
#
# Vext will allow access to these modules
modules:
cairo
gtk
pygtk
glib
gobject
gtksourceview2
test_import:
# Vext will try and import any modules here
# To check if the install worked
gtk, pygtk
# move glib and gobject to their own vexts
# pygtk.pth does most of the initialisation of pygtk
pths:
pygtk.pth
install_hints:
PyGTK was not found, install it in your system python.

12
tox.ini
View File

@ -1,8 +1,12 @@
[tox]
envlist = py27,py33,py34,py35,py36
envlist = py27
[testenv]
sitepackages=True
deps =
nose >= 0.10.4
coverage
commands = nosetests --with-coverage
vext.pygtk
nose >= 0.10.4
coverage
commands =
nosetests --with-coverage \
[] # substitute with tox' positional arguments