From 3b1afc2f3dc450fafb08a9ac98ca8b20e07ef078 Mon Sep 17 00:00:00 2001 From: georgewhewell Date: Tue, 3 May 2016 21:46:49 +0100 Subject: [PATCH] don't use find_packages from setuptools The `tests` package was being picked up by `find_packages`, so it get's installed alongside the rest_social_auth package in site-packages- this is undesirable! --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 3897b5b..38555e5 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ import os import sys -from setuptools import setup, find_packages +from setuptools import setup from rest_social_auth import __author__, __version__ @@ -39,7 +39,7 @@ def __read(fname): description='Django rest framework resources for social auth', long_description=__read('README.rst') + '\n\n' + __read('RELEASE_NOTES.rst'), platforms=('Any'), - packages=find_packages(), + packages=['rest_social_auth'], install_requires=install_requires, keywords='django social auth rest login signin signup oauth'.split(), include_package_data=True,