-
-
Notifications
You must be signed in to change notification settings - Fork 343
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into timeout_coverage
- Loading branch information
Showing
175 changed files
with
2,334 additions
and
1,642 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
from setuptools import find_packages, setup | ||
|
||
__version__ = "0.0.0" # Overwritten from _version.py below, needed for linter to identify that this variable is defined. | ||
|
||
exec(open("trio/_version.py", encoding="utf-8").read()) | ||
|
||
LONG_DESC = """\ | ||
.. image:: https://raw.githubusercontent.com/python-trio/trio/9b0bec646a31e0d0f67b8b6ecc6939726faf3e17/logo/logo-with-background.svg | ||
:width: 200px | ||
:align: right | ||
|
@@ -46,7 +39,7 @@ | |
Vital statistics: | ||
|
||
* Supported environments: Linux, macOS, or Windows running some kind of Python | ||
3.8-or-better (either CPython or PyPy3 is fine). \\*BSD and illumos likely | ||
3.8-or-better (either CPython or PyPy3 is fine). \*BSD and illumos likely | ||
work too, but are not tested. | ||
|
||
* Install: ``python3 -m pip install -U trio`` (or on Windows, maybe | ||
|
@@ -70,61 +63,3 @@ | |
conduct | ||
<https://trio.readthedocs.io/en/latest/code-of-conduct.html>`_ | ||
in all project spaces. | ||
""" | ||
|
||
setup( | ||
name="trio", | ||
version=__version__, | ||
description="A friendly Python library for async concurrency and I/O", | ||
long_description=LONG_DESC, | ||
long_description_content_type="text/x-rst", | ||
author="Nathaniel J. Smith", | ||
author_email="[email protected]", | ||
url="https://github.com/python-trio/trio", | ||
license="MIT OR Apache-2.0", | ||
packages=find_packages(), | ||
install_requires=[ | ||
# attrs 19.2.0 adds `eq` option to decorators | ||
# attrs 20.1.0 adds @frozen | ||
"attrs >= 20.1.0", | ||
"sortedcontainers", | ||
"idna", | ||
"outcome", | ||
"sniffio >= 1.3.0", | ||
# cffi 1.12 adds from_buffer(require_writable=True) and ffi.release() | ||
# cffi 1.14 fixes memory leak inside ffi.getwinerror() | ||
# cffi is required on Windows, except on PyPy where it is built-in | ||
"cffi>=1.14; os_name == 'nt' and implementation_name != 'pypy'", | ||
"exceptiongroup >= 1.0.0rc9; python_version < '3.11'", | ||
], | ||
# This means, just install *everything* you see under trio/, even if it | ||
# doesn't look like a source file, so long as it appears in MANIFEST.in: | ||
include_package_data=True, | ||
python_requires=">=3.8", | ||
keywords=["async", "io", "networking", "trio"], | ||
classifiers=[ | ||
"Development Status :: 3 - Alpha", | ||
"Framework :: Trio", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: POSIX :: Linux", | ||
"Operating System :: MacOS :: MacOS X", | ||
"Operating System :: POSIX :: BSD", | ||
"Operating System :: Microsoft :: Windows", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Topic :: System :: Networking", | ||
"Typing :: Typed", | ||
], | ||
project_urls={ | ||
"Documentation": "https://trio.readthedocs.io/", | ||
"Changelog": "https://trio.readthedocs.io/en/latest/history.html", | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
include LICENSE LICENSE.MIT LICENSE.APACHE2 | ||
include README.rst | ||
include LONG_DESCRIPTION.rst | ||
include CODE_OF_CONDUCT.md CONTRIBUTING.md | ||
include test-requirements.txt | ||
include trio/py.typed | ||
recursive-include trio/_tests/test_ssl_certs *.pem | ||
include src/trio/py.typed | ||
recursive-include src/trio/_tests/test_ssl_certs *.pem | ||
recursive-include docs * | ||
prune docs/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.