secretary/setup.py

58 lines
1.7 KiB
Python
Raw Normal View History

2013-08-14 20:41:41 -06:00
# -*- coding: utf-8 -*-
2014-10-10 15:46:55 -06:00
2013-08-17 10:54:53 -06:00
import sys
2013-08-14 20:41:41 -06:00
from setuptools import setup
2013-08-17 10:54:53 -06:00
from setuptools.command.test import test as TestCommand
2013-08-14 20:41:41 -06:00
2014-10-10 15:46:55 -06:00
long_description = """
============
Secretary
============
Take the power of Jinja2 templates to OpenOffice or LibreOffice and create reports and letters in your web applications.
See full `documentation on Github <https://github.com/christopher-ramirez/secretary/blob/master/README.md>`_
."""
2013-08-14 20:41:41 -06:00
2013-08-17 10:54:53 -06:00
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
2013-08-14 20:41:41 -06:00
setup(
name='secretary',
2015-05-13 10:30:27 -06:00
version='0.2.7',
2013-08-14 20:41:41 -06:00
url='https://github.com/christopher-ramirez/secretary',
license='MIT',
2013-08-14 20:41:41 -06:00
author='Christopher Ramírez',
2013-08-15 22:08:29 -06:00
author_email='chris.ramirezg@gmail.com',
2014-10-10 15:46:55 -06:00
description='Take the power of Jinja2 templates to OpenOffice or LibreOffice.',
long_description=long_description,
2013-10-24 15:28:36 -06:00
py_modules=['secretary', 'markdown_map'],
2013-08-14 20:41:41 -06:00
platforms='any',
install_requires=[
2013-09-03 15:49:38 -06:00
'Jinja2', 'markdown2'
2013-08-14 20:41:41 -06:00
],
2013-08-17 10:54:53 -06:00
tests_require=['pytest'],
cmdclass={'test': PyTest},
test_suite='test_secretary',
2013-08-14 20:41:41 -06:00
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: End Users/Desktop',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Development Status :: 3 - Alpha',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Office/Business',
'Topic :: Utilities',
2013-08-17 10:54:53 -06:00
],
extras_require={
'testing': ['pytest']
}
2013-08-14 20:41:41 -06:00
)