-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (32 loc) · 1.29 KB
/
setup.py
File metadata and controls
35 lines (32 loc) · 1.29 KB
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
import os
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
if os.path.exists('README.rst'):
long_description = read('README.rst')
else:
long_description = 'https://github.com/InviteBox/django-image-dimensions'
setup(
name = "django-image-dimensions",
version = "0.0.4",
author = "Alexander Tereshkin",
author_email = "atereshkin@invitebox.com",
description = ("Automatically add dimension attributes to all <img> tags in a response to improve rendering speed on the client. "),
license = "BSD",
keywords = "django images performance",
url = "https://github.com/InviteBox/django-image-dimensions",
packages=['imagedimensions','imagedimensions.templatetags'],
long_description=long_description,
install_requires=('django-celery', ),
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Software Development",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
],
)