forked from SmileyChris/easy-thumbnails
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·52 lines (47 loc) · 1.62 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
#!/usr/bin/env python
from distutils.core import setup
from easy_thumbnails import get_version
def read_files(*filenames):
"""
Output the contents of one or more files to a single concatenated string.
"""
output = []
for filename in filenames:
f = open(filename)
try:
output.append(f.read())
finally:
f.close()
return '\n'.join(output)
setup(
name='easy-thumbnails',
version=get_version(join='-'),
url='http://github.com/SmileyChris/easy-thumbnails',
#download_url='',
description='Easy thumbnails for Django',
long_description=read_files('README'),
author='Chris Beaven',
author_email='smileychris@gmail.com',
platforms=['any'],
packages=[
'easy_thumbnails',
'easy_thumbnails.management',
'easy_thumbnails.management.commands',
'easy_thumbnails.migrations',
'easy_thumbnails.templatetags',
'easy_thumbnails.tests',
],
package_data={'easy_thumbnails': ['docs/*.py', 'docs/*.', 'docs/*.bat'
'docs/*.txt', 'docs/ref/*.txt']},
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)