forked from django-cms/django-filer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
57 lines (52 loc) · 1.71 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
from setuptools import setup, find_packages
import os
try:
from setuptest import test
except ImportError:
from setuptools.command.test import test
version = __import__('filer').__version__
def read(fname):
# read the contents of a text file
return open(os.path.join(os.path.dirname(__file__), fname)).read()
dependency_links = [
'http://github.com/pbs/django-cms-roles/tarball/master#egg=django-cms-roles-dev',
]
setup(
name = "django-filer",
version = version,
url = 'http://github.com/stefanfoulis/django-filer',
license = 'BSD',
platforms=['OS Independent'],
description = "A file management application for django that makes handling of files and images a breeze.",
long_description = read('README.rst'),
author = 'Stefan Foulis',
author_email = '[email protected]',
packages=find_packages(),
install_requires = (
'pytz',
'Django>=1.3,<1.5',
'easy-thumbnails>=1.0,<2.0.0',
'django-mptt>=0.6.1',
'django_polymorphic>=0.2',
'django-cms-roles',
),
dependency_links=dependency_links,
include_package_data=True,
zip_safe=False,
classifiers = [
'Development Status :: 4 - Beta',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
],
cmdclass={'test': test},
test_suite='setuptest.setuptest.SetupTestSuite',
tests_require=(
'django-setuptest>=0.1.1',
'argparse', # apparently needed by django-setuptest on python 2.6
),
setup_requires=['s3sourceuploader',],
)