--- projects/pystatgrab/setup.py 2004/03/20 21:29:59 1.9 +++ projects/pystatgrab/setup.py 2006/03/18 10:28:54 1.21 @@ -1,9 +1,25 @@ #!/usr/bin/env python # -# setup.py - distfiles configuration for pystatgrab +# i-scream pystatgrab +# http://www.i-scream.org/pystatgrab/ +# Copyright (C) 2000-2004 i-scream # -# $Id: setup.py,v 1.9 2004/03/20 21:29:59 tdb Exp $ +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. # +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# $Id: setup.py,v 1.21 2006/03/18 10:28:54 tdb Exp $ +# """Python bindings for libstatgrab.""" from distutils.core import setup, Extension @@ -13,10 +29,10 @@ import sys import os # version of pystatgrab -VERSION = "0.1" +VERSION = "0.5" # required version of libstatgrab -LIBSTATGRAB = "0.9" +LIBSTATGRAB = "0.12" # test for pkg-config presence if os.system("pkg-config --version >/dev/null 2>&1"): @@ -47,15 +63,15 @@ if cflags[0] != 0: sys.exit("Failed to get cflags: " + cflags[1]) if libs[0] != 0: - exit("Failed to get libs: " + libs[1]) + sys.exit("Failed to get libs: " + libs[1]) # setup information setup( name = "pystatgrab", version = VERSION, description = "Python bindings for libstatgrab", author = "i-scream", - author_email = "dev@i-scream.org", - url = "http://www.i-scream.org/libstatgrab/", + author_email = "support@i-scream.org", + url = "http://www.i-scream.org/pystatgrab/", license = "GNU GPL v2 or later", ext_modules=[Extension( "_statgrab",