Permalink
Browse files

improve setup.py

  • Loading branch information...
1 parent 88c2797 commit 8b705150aa4476c10564c3fb3f211664f0d1bff5 @cyberdelia cyberdelia committed May 12, 2012
Showing with 11 additions and 7 deletions.
  1. +0 −2 LICENSE
  2. +1 −0 MANIFEST.in
  3. +2 −2 README.md → README.rst
  4. +8 −3 setup.py
View
@@ -1,5 +1,3 @@
-Pipeline
---------
Copyright (©) 2008 Andreas Pelme <andreas@pelme.se>
Copyright (©) 2011-2012 Timothée Peignier <timothee.peignier@tryphon.org>
View
@@ -2,3 +2,4 @@ recursive-include pipeline/templates *.html
include docs/*
include AUTHORS
include LICENSE
+include README.rst
View
@@ -3,13 +3,13 @@ Pipeline
Pipeline is an asset packaging library for Django, providing both CSS and JavaScript concatenation and compression, built-in JavaScript template support, and optional data-URI image and font embedding.
-To install it :
+To install it : ::
pip install django-pipeline
For documentation, usage, and examples, see :
-http://django-pipeline.readthedocs.org/
+http://django-pipeline.readthedocs.org
To suggest a feature or report a bug :
https://github.com/cyberdelia/django-pipeline/issues
View
@@ -2,16 +2,21 @@
from setuptools import setup, find_packages
+with open('README.rst') as f:
+ readme = f.read()
+
+with open('LICENSE') as f:
+ license = f.read()
+
setup(
name='django-pipeline',
version='1.2.6',
description='Pipeline is an asset packaging library for Django.',
- long_description="""Pipeline is an asset packaging library for Django, providing
-both CSS and JavaScript concatenation and compression, built-in JavaScript
-template support, and optional data-URI image and font embedding.""",
+ long_description=readme,
author='Timothée Peignier',
author_email='timothee.peignier@tryphon.org',
url='https://github.com/cyberdelia/django-pipeline',
+ license=license,
packages=find_packages(),
zip_safe=False,
include_package_data=True,

0 comments on commit 8b70515

Please sign in to comment.