Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

55 lines (49 sloc) 1.638 kb
# make sure setuptools is available
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
import os
version = __import__('image_filer').__version__
media_files = []
for dir in ['image_filer/media','image_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',
'django>=1.1',
]
setup(
name = "django-image-filer",
version = version,
url = 'http://github.com/stefanfoulis/django-image-filer',
license = 'BSD',
platforms=['OS Independent'],
description = "A file management application for django that makes handling of images a breeze.",
long_description = read('README'),
author = 'Stefan Foulis',
author_email = 'stefan.foulis@gmail.com',
packages=find_packages(exclude=['ez_setup']),
install_requires = install_requires,
package_data={
'': ['*.txt', '*.rst',],
},
package_dir = {
'image_filer':'image_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',
]
)
Jump to Line
Something went wrong with that request. Please try again.