Permalink
Browse files

Add MANIFEST.in; tweak setup.py

This cleans up setup.py a bit, makes sure it has some additional
metadata to help PyPI, makes sure everything that should be in an sdist
will be in the sdist and switches to use find_packages() in setuptools.
  • Loading branch information...
1 parent f9d5278 commit 8c2a17e795ff5ca25e76ae1d69e96641804d7460 @willkg willkg committed Aug 16, 2013
Showing with 19 additions and 5 deletions.
  1. +14 −0 MANIFEST.in
  2. +5 −5 setup.py
View
@@ -0,0 +1,14 @@
+include LICENSE
+include MANIFEST.in
+include manage.py
+include README.rst
+include runtests.py
+include setup.py
+include test_settings.py
+include TODO.md
+
+recursive-include docs *.py *.rst Makefile
+
+recursive-include badger *.txt *.py *.png *.html *.json *.txt
+
+recursive-include badger_example *.html *.json *.txt
View
@@ -1,5 +1,5 @@
#!/usr/bin/env python
-from setuptools import setup
+from setuptools import find_packages, setup
try:
import multiprocessing
except ImportError:
@@ -15,21 +15,21 @@
author_email='me@lmorchard.com',
url='http://github.com/mozilla/django-badger',
license='BSD',
- packages=['badger', 'badger.templatetags', 'badger.management', 'badger.management.commands', 'badger.migrations'],
- package_data={'badger': ['fixtures/*', 'templates/badger_playdoh/*.html', 'templates/badger_playdoh/includes/*.html', 'templates/badger_vanilla/*.html', 'templates/badger_vanilla/includes/*.html']},
+ packages=find_packages(),
include_package_data=True,
classifiers=[
'Development Status :: 4 - Beta',
- # I don't know what exactly this means, but why not?
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
+ 'Programming Language :: Python :: 2.6',
+ 'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Libraries :: Python Modules',
],
install_requires=[
- 'django>=1.2',
+ 'django>=1.4',
'PIL',
],
tests_require=[

0 comments on commit 8c2a17e

Please sign in to comment.