"Fossies" - the Fresh Open Source Software Archive

Member "xhtml2pdf-0.2.5/setup.py" (8 Oct 2020, 3080 Bytes) of package /linux/www/xhtml2pdf-0.2.5.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Python source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. For more information about "setup.py" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 0.2.4_vs_0.2.5.

    1 #!/usr/bin/env python
    2 # -*- coding: utf-8 -*-
    3 import os
    4 
    5 # Copyright 2010 Dirk Holtwick, holtwick.it
    6 #
    7 # Licensed under the Apache License, Version 2.0 (the "License");
    8 # you may not use this file except in compliance with the License.
    9 # You may obtain a copy of the License at
   10 #
   11 #     http://www.apache.org/licenses/LICENSE-2.0
   12 #
   13 # Unless required by applicable law or agreed to in writing, software
   14 # distributed under the License is distributed on an "AS IS" BASIS,
   15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   16 # See the License for the specific language governing permissions and
   17 # limitations under the License.
   18 
   19 try:
   20     from setuptools import setup, find_packages
   21 except ImportError:
   22     from ez_setup import use_setuptools
   23 
   24     use_setuptools()
   25 
   26 README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
   27 
   28 import xhtml2pdf
   29 
   30 setup(
   31     name="xhtml2pdf",
   32     version=xhtml2pdf.__version__,
   33     description="PDF generator using HTML and CSS",
   34     license="Apache License 2.0",
   35     author="Dirk Holtwick",
   36     maintainer="Luis Zarate",
   37     maintainer_email="luisza14@gmail.com",
   38     url="http://github.com/xhtml2pdf/xhtml2pdf",
   39     keywords="PDF, HTML, XHTML, XML, CSS",
   40     install_requires=["html5lib>=1.0", "pyPdf2", "Pillow", "reportlab>=3.3.0", "six",
   41                       "python-bidi>=0.4.2", "arabic-reshaper>=2.1.0"],
   42     include_package_data=True,
   43     packages=find_packages(exclude=["tests", "tests.*"]),
   44     #    test_suite = "tests", They're not even working yet
   45     entry_points={
   46         'console_scripts': [
   47             'pisa = xhtml2pdf.pisa:command',
   48             'xhtml2pdf = xhtml2pdf.pisa:command',
   49         ]
   50     },
   51     long_description=README,
   52     classifiers=[
   53         'License :: OSI Approved :: Apache Software License',
   54         'Development Status :: 4 - Beta',
   55         'Environment :: Console',
   56         'Environment :: Other Environment',
   57         'Intended Audience :: Developers',
   58         'Intended Audience :: System Administrators',
   59         'Natural Language :: English',
   60         'Operating System :: OS Independent',
   61         'Programming Language :: Python :: 2',
   62         'Programming Language :: Python :: 2.7',
   63         'Programming Language :: Python :: 3',
   64         'Programming Language :: Python :: 3.3',
   65         'Programming Language :: Python :: 3.4',
   66         'Programming Language :: Python :: 3.5',
   67         'Programming Language :: Python :: 3.6',
   68         'Programming Language :: Python :: 3.7',
   69         'Programming Language :: Python :: 3.8',
   70         'Topic :: Documentation',
   71         'Topic :: Multimedia',
   72         'Topic :: Office/Business',
   73         'Topic :: Printing',
   74         'Topic :: Text Processing',
   75         'Topic :: Text Processing :: Filters',
   76         'Topic :: Text Processing :: Fonts',
   77         'Topic :: Text Processing :: General',
   78         'Topic :: Text Processing :: Indexing',
   79         'Topic :: Text Processing :: Markup',
   80         'Topic :: Text Processing :: Markup :: HTML',
   81         'Topic :: Text Processing :: Markup :: XML',
   82         'Topic :: Utilities',
   83     ]
   84 )