forked from django-cms/django-filer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (48 loc) · 1.58 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
import os
from setuptools import setup, find_packages
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()
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=(
'django-js-asset==2.0.0',
'django>=1.11,<3.0',
'django-mptt==0.11.1', # the exact version depends on Django
'django_polymorphic>=0.7,<2.2',
'easy-thumbnails>=2,<3.0',
'Unidecode>=0.04,<1.2',
'six',
),
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
),
)