From f6b8ff1add207904077f291da1df205de37bd809 Mon Sep 17 00:00:00 2001 From: Ryan P Kilby Date: Mon, 5 Dec 2016 22:00:58 -0500 Subject: [PATCH] Add templates to manifest, remove install note --- MANIFEST.in | 5 ++++- docs/guide/install.txt | 6 ------ setup.py | 7 +------ 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 13d96d39d..47f497092 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -8,4 +8,7 @@ recursive-include docs * recursive-include requirements * recursive-include tests * recursive-include django_filters/locale * -prune docs/_build \ No newline at end of file +recursive-include django_filters/templates *.html +prune docs/_build +global-exclude __pycache__ +global-exclude *.py[co] diff --git a/docs/guide/install.txt b/docs/guide/install.txt index 5f836f949..28c9ffc6e 100644 --- a/docs/guide/install.txt +++ b/docs/guide/install.txt @@ -10,12 +10,6 @@ Django-filter can be installed from PyPI with tools like ``pip``: Then add ``'django_filters'`` to your ``INSTALLED_APPS``. -.. note:: - - django-filter provides *some* localization for *some* languages. If you do - not need these translations (or would rather provide your own), then it is - unnecessary to add django-filter to the ``INSTALLED_APPS`` setting. - Requirements ------------ diff --git a/setup.py b/setup.py index 997dedcb4..80a64a2f1 100644 --- a/setup.py +++ b/setup.py @@ -34,11 +34,7 @@ maintainer_email='carlton.gibson@noumenal.es', url='http://github.com/carltongibson/django-filter/tree/master', packages=find_packages(exclude=['tests']), - package_data={ - 'django_filters': [ - 'locale/*/LC_MESSAGES/*', - ], - }, + include_package_data=True, license='BSD', classifiers=[ 'Development Status :: 5 - Production/Stable', @@ -54,6 +50,5 @@ 'Programming Language :: Python :: 3.5', 'Framework :: Django', ], - include_package_data=True, zip_safe=False, )