Skip to content

Commit

Permalink
Move from setup.py to setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalresistor committed Apr 17, 2020
1 parent 1b1dac0 commit e2facc8
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 83 deletions.
61 changes: 56 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,58 @@
[easy_install]
zip_ok = false
[metadata]
name = waitress
version = 1.4.4a0
description = Waitress WSGI server
long_description = file: README.rst, CHANGES.txt
long_description_content_type = text/x-rst
keywords = waitress wsgi server http
license = ZPL 2.1
classifiers =
Development Status :: 6 - Mature
Environment :: Web Environment
Intended Audience :: Developers
License :: OSI Approved :: Zope Public License
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Operating System :: OS Independent
Topic :: Internet :: WWW/HTTP
Topic :: Internet :: WWW/HTTP :: WSGI
url = https://github.com/Pylons/waitress
author = Zope Foundation and Contributors
author_email = [email protected]
maintainer = Pylons Project
maintainer_email = [email protected]

[options]
package_dir=
=src
packages=find:
python_requires = >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*

[options.entry_points]
paste.server_runner =
main = waitress:serve_paste
console_scripts =
waitress-serve = waitress.runner:run

[options.packages.find]
where=src

[options.extras_require]
testing =
nose
coverage>=5.0

docs =
Sphinx>=1.8.1
docutils
pylons-sphinx-themes>=1.0.9

[nosetests]
match=^test
Expand All @@ -10,6 +63,4 @@ cover-erase=1
[bdist_wheel]
universal = 1

[aliases]
dev = develop easy_install waitress[testing]
docs = develop easy_install waitress[docs]

80 changes: 2 additions & 78 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,79 +1,3 @@
##############################################################################
#
# Copyright (c) 2006 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
import os
from setuptools import setup

from setuptools import find_packages, setup

here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, "README.rst")).read()
CHANGES = open(os.path.join(here, "CHANGES.txt")).read()
except IOError:
README = CHANGES = ""

docs_extras = [
"Sphinx>=1.8.1",
"docutils",
"pylons-sphinx-themes>=1.0.9",
]

testing_extras = [
"nose",
"coverage>=5.0",
]

setup(
name="waitress",
version="1.4.3",
author="Zope Foundation and Contributors",
author_email="[email protected]",
maintainer="Pylons Project",
maintainer_email="[email protected]",
description="Waitress WSGI server",
long_description=README + "\n\n" + CHANGES,
license="ZPL 2.1",
keywords="waitress wsgi server http",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: Zope Public License",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Natural Language :: English",
"Operating System :: OS Independent",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI",
],
url="https://github.com/Pylons/waitress",
packages=find_packages(),
python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*",
extras_require={"testing": testing_extras, "docs": docs_extras},
include_package_data=True,
test_suite="waitress",
zip_safe=False,
entry_points="""
[paste.server_runner]
main = waitress:serve_paste
[console_scripts]
waitress-serve = waitress.runner:run
""",
)
setup()

0 comments on commit e2facc8

Please sign in to comment.