Update pypi documentaion.
This commit is contained in:
parent
27f922de3b
commit
9eac61a0bb
1 changed files with 11 additions and 10 deletions
21
setup.py
21
setup.py
|
|
@ -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=[
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue