aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorGeorge Hickman <george@ghickman.co.uk>2012-03-20 17:26:25 +0000
committerGeorge Hickman <george@ghickman.co.uk>2012-03-20 17:26:49 +0000
commitd3a3522cea3cf553ddf2f9345b01b548ddd6cf0c (patch)
tree58b720625f8e56466c7c498a81bbe1891a7bae59 /setup.py
parentdef2d8ddd05ae0b8526f8fa1ee80beea01006619 (diff)
downloaddjango-wkhtmltopdf-d3a3522cea3cf553ddf2f9345b01b548ddd6cf0c.tar.gz
django-wkhtmltopdf-d3a3522cea3cf553ddf2f9345b01b548ddd6cf0c.tar.bz2
django-wkhtmltopdf-d3a3522cea3cf553ddf2f9345b01b548ddd6cf0c.zip
Make the docs rest
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 082d042..9da3678 100644
--- a/setup.py
+++ b/setup.py
@@ -1,14 +1,22 @@
+from os.path import dirname, join
from setuptools import setup, find_packages
from wkhtmltopdf import get_version
+
+
+def fread(fn):
+ with open(join(dirname(__file__), fn), 'r') as f:
+ return f.read()
+
setup(
name = "django-wkhtmltopdf",
packages = find_packages(),
include_package_data=True,
- #install_requires=[],
version = get_version(),
description = "Converts html to PDF using http://code.google.com/p/wkhtmltopdf/.",
+ long_description = fread('README.rst'),
author = "Incuna Ltd",
author_email = "admin@incuna.com",
url = "http://incuna.com/",
)
+