This repository has been archived by the owner on Apr 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (38 loc) · 1.47 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
39
40
41
42
# -*- coding: utf-8 -*-
"""Setup file for easy installation"""
from os.path import join, dirname
from setuptools import setup
version = '0.0.2a'
LONG_DESCRIPTION = """
Rango is a new taste of Django. In general it provides shorter
API calls for Django and some extra helpers.
"""
def long_description():
"""Return long description from README.md if it's present
because it doesn't get installed."""
try:
return open(join(dirname(__file__), 'README.md')).read()
except IOError:
return LONG_DESCRIPTION
setup(
name='rango',
version=version,
author='Alexey Kinyov',
author_email='[email protected]',
description='Rango is a spicey API to Django with some extras.',
license='MIT',
keywords='django, utils, sugar',
url='https://github.com/05bit/python-rango',
packages=['rango', 'rango.db', 'rango.auth'],
long_description=long_description(),
install_requires=['Django>=1.4', 'unidecode'],
classifiers=['Development Status :: 2 - Pre-Alpha',
'Operating System :: OS Independent',
'License :: OSI Approved :: BSD License',
'Intended Audience :: Developers',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7'])