Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

49 lines (45 sloc) 1.531 kB
import os
import sys
from setuptools import setup, find_packages
from extras import RunFlakesCommand
guardian = __import__('guardian')
readme_file = os.path.join(os.path.dirname(__file__), 'README.rst')
try:
long_description = open(readme_file).read()
except IOError, err:
sys.stderr.write("[ERROR] Cannot find file specified as "
"``long_description`` (%s)\n" % readme_file)
sys.exit(1)
setup(
name = 'django-guardian',
version = guardian.get_version(),
url = 'http://github.com/lukaszb/django-guardian',
author = 'Lukasz Balcerzak',
author_email = 'lukaszbalcerzak@gmail.com',
download_url='http://github.com/lukaszb/django-guardian/downloads',
description = guardian.__doc__.strip(),
long_description = long_description,
zip_safe = False,
packages = find_packages(),
include_package_data = True,
scripts = [],
requires = [],
license = 'BSD',
install_requires = [
'Django>=1.2',
],
tests_require = [
'mock',
],
classifiers = ['Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Security',
],
test_suite='tests.main',
cmdclass={'flakes': RunFlakesCommand},
)
Jump to Line
Something went wrong with that request. Please try again.