Skip to content

Commit

Permalink
Move package description to module docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
bittner committed Oct 22, 2017
1 parent 4e8644f commit 9738f31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
8 changes: 1 addition & 7 deletions analytical/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
"""
Analytics service integration for Django
========================================
The django-analytical application integrates analytics services into a
Django_ project. See the ``docs`` directory for more information.
.. _Django: http://www.djangoproject.com/
Analytics service integration for Django projects
"""

__author__ = "Joost Cassee"
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def run(self):
cmdclass['test'] = TestCommand


def read(fname):
def read_file(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()


Expand All @@ -59,8 +59,8 @@ def read(fname):
name='django-analytical',
version=package.__version__,
license=package.__license__,
description='Analytics service integration for Django projects',
long_description=read('README.rst'),
description=package.__doc__.strip(),
long_description=read_file('README.rst'),
author=package.__author__,
author_email=package.__email__,
packages=[
Expand Down

0 comments on commit 9738f31

Please sign in to comment.