| [18296] | 1 | # -*- coding: utf-8 -*- |
|---|
| 2 | # Copyright (c) 2021 Cinc |
|---|
| 3 | # All rights reserved. |
|---|
| 4 | # |
|---|
| 5 | # Redistribution and use in source and binary forms, with or without |
|---|
| 6 | # modification, are permitted provided that the following conditions |
|---|
| 7 | # are met: |
|---|
| 8 | # 1. Redistributions of source code must retain the above copyright |
|---|
| 9 | # notice, this list of conditions and the following disclaimer. |
|---|
| 10 | # 2. Redistributions in binary form must reproduce the above copyright |
|---|
| 11 | # notice, this list of conditions and the following disclaimer in the |
|---|
| 12 | # documentation and/or other materials provided with the distribution. |
|---|
| 13 | # 3. The name of the author may not be used to endorse or promote products |
|---|
| 14 | # derived from this software without specific prior written permission. |
|---|
| 15 | # |
|---|
| 16 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
|---|
| 17 | # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
|---|
| 18 | # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
|---|
| 19 | # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
|---|
| 20 | # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
|---|
| 21 | # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|---|
| 22 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|---|
| 23 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|---|
| 24 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
|---|
| 25 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|---|
| 26 | from setuptools import setup |
|---|
| 27 | |
|---|
| 28 | with open("README.md", "r") as fh: |
|---|
| 29 | long_description = fh.read() |
|---|
| 30 | |
|---|
| 31 | setup( |
|---|
| [18311] | 32 | name='TracWikiPrint', |
|---|
| 33 | version='4.0.0', |
|---|
| [18296] | 34 | packages=['tracpdf'], |
|---|
| 35 | package_data={ |
|---|
| 36 | 'tracpdf': ['templates/*.html' |
|---|
| 37 | ] |
|---|
| 38 | }, |
|---|
| 39 | install_requires=['pdfkit', 'trac'], |
|---|
| 40 | author='Cinc-th', |
|---|
| 41 | author_email='', |
|---|
| 42 | maintainer="Cinc-th", |
|---|
| 43 | license='BSD', |
|---|
| 44 | url="http://trac-hacks.org/wiki/TracWikiPrintPlugin", |
|---|
| 45 | description='Create PDF files from Tracs wiki pages', |
|---|
| 46 | long_description=long_description, |
|---|
| 47 | keywords='PDF wiki trac plugin', |
|---|
| [18311] | 48 | classifiers=['Development Status :: 4 - Beta', |
|---|
| 49 | 'Environment :: Plugins', |
|---|
| 50 | 'Environment :: Web Environment', |
|---|
| 51 | 'Framework :: Trac', |
|---|
| 52 | 'Intended Audience :: End Users/Desktop', |
|---|
| 53 | 'License :: OSI Approved :: BSD License', |
|---|
| 54 | 'Natural Language :: English', |
|---|
| 55 | 'Operating System :: OS Independent', |
|---|
| 56 | 'Programming Language :: Python :: 2', |
|---|
| 57 | 'Programming Language :: Python :: 2.7', |
|---|
| 58 | 'Programming Language :: Python :: 3', |
|---|
| 59 | ], |
|---|
| [18296] | 60 | entry_points={'trac.plugins': [ |
|---|
| 61 | 'tracpdf.wikiprint = tracpdf.wikiprint', |
|---|
| 62 | 'tracpdf.admin = tracpdf.admin', |
|---|
| [18306] | 63 | 'tracpdf.pdfbook = tracpdf.pdfbook', |
|---|
| [18296] | 64 | ]}, |
|---|
| 65 | test_suite='tests' |
|---|
| 66 | ) |
|---|