"Fossies" - the Fresh Open Source Software Archive

Member "Zope-5.2.1/setup.py" (8 Jun 2021, 4895 Bytes) of package /linux/www/Zope-5.2.1.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: 5.2_vs_5.2.1.

    1 ##############################################################################
    2 #
    3 # Copyright (c) 2007 Zope Foundation and Contributors.
    4 # All Rights Reserved.
    5 #
    6 # This software is subject to the provisions of the Zope Public License,
    7 # Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
    8 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
    9 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
   10 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
   11 # FOR A PARTICULAR PURPOSE.
   12 #
   13 ##############################################################################
   14 
   15 import os
   16 
   17 from setuptools import find_packages
   18 from setuptools import setup
   19 
   20 
   21 HERE = os.path.abspath(os.path.dirname(__file__))
   22 
   23 
   24 def _read_file(filename):
   25     with open(os.path.join(HERE, filename)) as f:
   26         return f.read()
   27 
   28 
   29 README = _read_file('README.rst')
   30 CHANGES = _read_file('CHANGES.rst')
   31 
   32 version = '5.2.1'
   33 
   34 
   35 setup(
   36     name='Zope',
   37     version=version,
   38     url='https://zope.readthedocs.io/en/latest/',
   39     project_urls={
   40         'Documentation': 'https://zope.readthedocs.io',
   41         'Issue Tracker': 'https://github.com/zopefoundation/Zope/issues',
   42         'Sources': 'https://github.com/zopefoundation/Zope',
   43     },
   44     license='ZPL 2.1',
   45     description='Zope application server / web framework',
   46     author='Zope Foundation and Contributors',
   47     author_email='zope-dev@zope.org',
   48     long_description="\n\n".join([README, CHANGES]),
   49     classifiers=[
   50         'Development Status :: 6 - Mature',
   51         "Environment :: Web Environment",
   52         "Framework :: Zope :: 5",
   53         "Intended Audience :: Developers",
   54         "License :: OSI Approved :: Zope Public License",
   55         "Operating System :: OS Independent",
   56         "Programming Language :: Python :: 3",
   57         "Programming Language :: Python :: 3 :: Only",
   58         "Programming Language :: Python :: 3.6",
   59         "Programming Language :: Python :: 3.7",
   60         "Programming Language :: Python :: 3.8",
   61         "Programming Language :: Python :: 3.9",
   62         "Programming Language :: Python :: Implementation :: CPython",
   63         "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
   64         "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
   65         "Topic :: Software Development :: Libraries :: Application Frameworks",
   66     ],
   67     packages=find_packages('src'),
   68     namespace_packages=['Products', 'Shared', 'Shared.DC', 'zmi'],
   69     package_dir={'': 'src'},
   70     python_requires='>= 3.6',
   71     install_requires=[
   72         'AccessControl >= 4.2',
   73         'Acquisition',
   74         'BTrees',
   75         'Chameleon >= 3.7.0',
   76         'DateTime',
   77         'DocumentTemplate >= 4.0',
   78         'ExtensionClass',
   79         'MultiMapping',
   80         'PasteDeploy',
   81         'Persistence',
   82         'RestrictedPython',
   83         'ZConfig >= 2.9.2',
   84         'ZODB',
   85         'setuptools >= 36.2',
   86         'transaction >= 2.4',
   87         'waitress',
   88         'zExceptions >= 3.4',
   89         'z3c.pt',
   90         'zope.browser',
   91         'zope.browsermenu',
   92         'zope.browserpage >= 4.4.0.dev0',
   93         'zope.browserresource >= 3.11',
   94         'zope.component',
   95         'zope.configuration',
   96         'zope.container',
   97         'zope.contentprovider',
   98         'zope.contenttype',
   99         'zope.datetime',
  100         'zope.deferredimport',
  101         'zope.event',
  102         'zope.exceptions',
  103         'zope.globalrequest',
  104         'zope.i18n [zcml]',
  105         'zope.i18nmessageid',
  106         'zope.interface >= 3.8',
  107         'zope.lifecycleevent',
  108         'zope.location',
  109         'zope.pagetemplate >= 4.0.2',
  110         'zope.processlifetime',
  111         'zope.proxy',
  112         'zope.ptresource',
  113         'zope.publisher',
  114         'zope.schema',
  115         'zope.security',
  116         'zope.sequencesort',
  117         'zope.site',
  118         'zope.size',
  119         'zope.tal',
  120         'zope.tales >= 5.0.2',
  121         'zope.testbrowser',
  122         'zope.testing',
  123         'zope.traversing',
  124         'zope.viewlet',
  125     ],
  126     include_package_data=True,
  127     zip_safe=False,
  128     extras_require={
  129         'docs': [
  130             'Sphinx',
  131             'sphinx_rtd_theme',
  132             'tempstorage',
  133         ],
  134         'wsgi': [
  135             'Paste',
  136         ],
  137     },
  138     entry_points={
  139         'paste.app_factory': [
  140             'main=Zope2.Startup.run:make_wsgi_app',
  141         ],
  142         'paste.filter_app_factory': [
  143             'httpexceptions=ZPublisher.httpexceptions:main',
  144         ],
  145         'console_scripts': [
  146             'addzopeuser=Zope2.utilities.adduser:main',
  147             'runwsgi=Zope2.Startup.serve:main',
  148             'mkwsgiinstance=Zope2.utilities.mkwsgiinstance:main',
  149             'zconsole=Zope2.utilities.zconsole:main',
  150         ],
  151         'zodbupdate.decode': [
  152             'decodes = OFS:zodbupdate_decode_dict',
  153         ],
  154         'zodbupdate': [
  155             'renames = OFS:zodbupdate_rename_dict',
  156         ],
  157     },
  158 )