# Distutils script for python-xlib

from distutils.core import setup
import sys

if sys.version < '2.3.3':
    from distutils.dist import DistributionMetadata
    DistributionMetadata.download_url = None

import Xlib

setup(name='python-xlib',
        version=Xlib.__version_string__,

        description='Python X Library',
        download_url='http://sourceforge.net/projects/python-xlib/files/',
        url='http://python-xlib.sourceforge.net/',
        license='GPL',

        author='Peter Liljenberg',
        author_email='petli@ctrl-c.liu.se',

        packages=[
            'Xlib',
            'Xlib.ext',
            'Xlib.keysymdef',
            'Xlib.protocol',
            'Xlib.support',
            'Xlib.xobject'
            ],
        )


@@ -38,22 +38,18 @@
 rom 
-distutils.core
+setuptools
  imp

switch to setuptools