Update pypi documentaion.

This commit is contained in:
Christopher Ramírez 2014-10-10 15:46:55 -06:00
parent 27f922de3b
commit 9eac61a0bb

View file

@ -1,15 +1,17 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import os
import sys import sys
from setuptools import setup from setuptools import setup
from setuptools.command.test import test as TestCommand from setuptools.command.test import test as TestCommand
# Utility function to read the README file. long_description = """
# Used for the long_description. It's nice, because now ============
# 1) we have a top level README file and Secretary
# 2) it's easier to type in the README file than to put a raw string in below ... ============
def read(fname): Take the power of Jinja2 templates to OpenOffice or LibreOffice and create reports and letters in your web applications.
return open(os.path.join(os.path.dirname(__file__), fname)).read()
See full `documentation on Github <https://github.com/christopher-ramirez/secretary/blob/master/README.md>`_
."""
class PyTest(TestCommand): class PyTest(TestCommand):
def finalize_options(self): def finalize_options(self):
@ -29,9 +31,8 @@ setup(
license='MIT', license='MIT',
author='Christopher Ramírez', author='Christopher Ramírez',
author_email='chris.ramirezg@gmail.com', author_email='chris.ramirezg@gmail.com',
description=('Take the power of Jinja2 templates to OpenOffice and ' description='Take the power of Jinja2 templates to OpenOffice or LibreOffice.',
'LibreOffice and create reports and letters in your web applications'), long_description=long_description,
long_description=read('README.md'),
py_modules=['secretary', 'markdown_map'], py_modules=['secretary', 'markdown_map'],
platforms='any', platforms='any',
install_requires=[ install_requires=[