#!/usr/bin/env python

from setuptools import setup, find_packages

VERSION = '1.1.1'
LONG_DESC = """\
This is a simple, easily extendible rpc library that provides several useful
tools for creating and publishing web services in python.  This package
features on-demand wsdl generation for the published services, a
wsgi-compliant web application, support for complex class structures, binary
attachments, and a simple framework for creating additional serialization 
mechanisms.

This project uses lxml as it's XML API, providing full namespace support.
"""

SHORT_DESC="A transport and architecture agnostic rpc (de)serialization " \
           "library that focuses on making small, rpc-oriented messaging work."

setup(
    name='rpclib',
    packages=find_packages('src'),
    package_dir={'':'src'},

    version=VERSION,
    description=SHORT_DESC,
    long_description=LONG_DESC,
    classifiers=[
        'Programming Language :: Python',
        'Operating System :: OS Independent',
        'Natural Language :: English',
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Developers',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
    ],
    keywords=('soap', 'wsdl', 'wsgi', 'zeromq', 'rest', 'rpc','json'),
    author='Burak Arslan',
    author_email='burak-rpclib@arskom.com.tr',
    maintainer='Burak Arslan',
    maintainer_email='burak-rpclib@arskom.com.tr',
    url='http://github.com/arskom/rpclib',
    license='LGPL',
    zip_safe=False,
    install_requires=[
      'pytz',
      'lxml>=2.2.1',
    ],
    test_suite='tests.test_suite',
)

@@ -16,16 +16,133 @@
 python%0A%0A
+from unittest import TestLoader%0Afrom pkg_resources import resource_exists%0Afrom pkg_resources import resource_listdir%0A
 from set
@@ -177,16 +177,16 @@
 ackages%0A
-
 %0AVERSION
@@ -828,16 +828,1144 @@
 work.%22%0A%0A
+%0Aclass NoInteropLoader(TestLoader):%0A%0A    def loadTestsFromModule(self, module):%0A        %22%22%22Load unit test (skip 'interop' package).%0A        %0A        Hacked from the version in 'setuptools.command.test.ScanningLoader'.%0A        %22%22%22%0A        tests = %5B%5D%0A        tests.append(TestLoader.loadTestsFromModule(self,module))%0A%0A        if hasattr(module, '__path__'):%0A%0A            for file in resource_listdir(module.__name__, ''):%0A%0A                if file == 'interop':%0A                    # These tests require installing a bunch of extra%0A                    # code:  see 'src/soaplib/test/README'.%0A                    continue%0A%0A                if file.endswith('.py') and file != '__init__.py':%0A                    submodule = module.__name__ + '.' + file%5B:-3%5D%0A                else:%0A                    if resource_exists(%0A                        module.__name__, file + '/__init__.py'%0A                    ):%0A                        submodule = module.__name__ + '.' + file%0A                    else:%0A                        continue%0A                tests.append(self.loadTestsFromName(submodule))%0A%0A        return self.suiteClass(tests)%0A%0A
 setup(%0A 
@@ -2820,24 +2820,64 @@
 te='
-tests.test_suite
+soaplib.test',%0A    test_loader='__main__:NoInteropLoader
 ',%0A)

Make 'python setup.py test' work.