-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
39 lines (28 loc) · 1.54 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
from setuptools import setup, find_packages
setup(
name = "django-annoying",
version = "0.7.1",
packages = find_packages(),
author = "Anderson",
author_email = "self.anderson@gmail.com",
description = "This is django application that try to eliminate annoying things in Django framework.",
long_description = """
**Features:**
- render_to decorator - reduce typing in django views.
- signals decorator - allow use signals as decorators.
- ajax_request decorator - returns JsonResponse with this dict as content.
- autostrip decoratro - strip text form fields before validation
- get_object_or_None function - similar to get_object_or_404, but returns None if object not found.
- get_config function - get settings from django.conf if exists, return default value otherwise.
- AutoOneToOne field - creates related object on first call if it doesnt exists yet.
- HttpResponseReload - reload and stay on same page from where request was made.
**Installation instruction:**
- Copy annoying directory to your django project or put in on PYTHONPATH
- Also you can run sudo python setup.py install or sudo easy_install django-annoying
**Download:**
- hg clone http://bitbucket.org/offline/django-annoying/
""",
license = "BSD",
keywords = "django",
url = "http://bitbucket.org/offline/django-annoying/wiki/Home",
)