From bbba52bb11fdd63f80416b85780b4f9dc3e61bc8 Mon Sep 17 00:00:00 2001 From: Chris Beaven Date: Wed, 7 Aug 2013 20:22:35 +1200 Subject: [PATCH] Upgrade setup.py to use setuptools --- MANIFEST.in | 2 +- setup.py | 13 +++---------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 2e23882d..b804258d 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,5 +2,5 @@ include LICENSE include AUTHORS include README.rst include CHANGES.rst -recursive-include docs * +graft docs prune docs/_build diff --git a/setup.py b/setup.py index 72242c92..cd869ba3 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -from distutils.core import setup +from setuptools import setup, find_packages import easy_thumbnails @@ -26,15 +26,8 @@ def read_files(*filenames): author='Chris Beaven', author_email='smileychris@gmail.com', platforms=['any'], - packages=[ - 'easy_thumbnails', - 'easy_thumbnails.management', - 'easy_thumbnails.management.commands', - 'easy_thumbnails.migrations', - 'easy_thumbnails.templatetags', - 'easy_thumbnails.tests', - ], - package_data={'easy_thumbnails': ['docs/*', 'docs/ref/*.rst']}, + packages=find_packages(), + include_package_data=True, install_requires=[ 'django>=1.4', 'pillow',