forked from django-cms/django-filer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
50 lines (45 loc) · 1.44 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
from setuptools import setup, find_packages
import os
version = __import__('filer').__version__
media_files = []
for dir in ['filer/media','filer/templates']:
for dirpath, dirnames, filenames in os.walk(dir):
media_files.append([dirpath, [os.path.join(dirpath, f) for f in filenames]])
def read(fname):
# read the contents of a text file
return open(os.path.join(os.path.dirname(__file__), fname)).read()
install_requires = [
'setuptools',
'sorl-thumbnail>=3.2.5',
'django-mptt>=0.2.1',
]
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'),
author = 'Stefan Foulis',
author_email = 'stefan.foulis@gmail.com',
packages=find_packages(),
install_requires = install_requires,
package_data={
'': ['*.txt', '*.rst',],
},
package_dir = {
'filer':'filer',
},
data_files = media_files,
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',
]
)