Commits

Fabien Schwebel committed bcba357

switched to setuptools; README updated

Comments (0)

Files changed (3)

-include MANIFEST README.md LICENSE
+include MANIFEST README.md LICENSE setup.py
 recursive-include django_misery *
 
 ## Installation & configuration
 
-To install the app, add `django_misery` to your INSTALLED_APPS setting, and `django_misery.middleware.miserize` to you MIDDLEWARE_CLASSES.
+To install the app, you can use PIP: `pip install django-misery`; then add `django_misery` to your INSTALLED_APPS setting, and `django_misery.middleware.miserize` to you MIDDLEWARE_CLASSES.
 
 The following settings can be personnalized:
 
 * `MISERY_404_PROBABILITY`: I'm gonna let you guess for this one (default: 10)
 * `MISERY_WHITE_SCREEN_PROBABILITY`: same for a nice, 100% pure white (not a single subpixel in the viewport will be off, I promise) (default: 20)
 * `MISERY_ASP_ERROR_PROBABILITY`: a free bonus for the ASP lovers (and I'm sure they are plenty around here), the template renders just great. Oh and: to make it even more beautiful, it's in French (default: 20). Have a quick look:
+
 ![ASP error overview](http://img11.hostingpics.net/pics/560987ASPerror.png)
 
 By default, the miserable users have therefore approximately a 50-50 chance to see the real page. They won't stay long, I promise.
 #!/usr/bin/env python
-from distutils.core import setup
+from setuptools import setup
 import os
 
 def read(fname):
     keywords = "django misery hellban slowban",
     url = "https://bitbucket.org/fschwebel/django-misery/",
     packages=['django_misery'],
+    include_package_data=True,
     long_description=read('README.md'),
     classifiers=[
         "Development Status :: 3 - Alpha",
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.