#!/usr/bin/env python
from distutils.core import setup

setup(
    name='django-payfast',
    version='0.2.2',
    author='Mikhail Korobov',
    author_email='kmike84@gmail.com',

    packages=['payfast', 'payfast.south_migrations'],

    url='http://bitbucket.org/kmike/django-payfast/',
    download_url = 'http://bitbucket.org/kmike/django-payfast/get/tip.gz',
    license = 'MIT license',
    description = 'A pluggable Django application for integrating payfast.co.za payment system.',
    long_description = open('README.rst').read().decode('utf8'),

    classifiers=(
        'Development Status :: 3 - Alpha',
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 2.7',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ),
)

@@ -24,35 +24,46 @@
 rom 
-distutils.core import setup
+setuptools import setup, find_packages
 %0A%0Ase
@@ -201,47 +201,48 @@
 ges=
-%5B'payfast', 'payfast.south_migration
+find_packages(exclude=%5B'payfast_test
 s'%5D
+)
 ,%0A%0A 

Switch from distutils to setuptools, and use find_packages()