Skip to content
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.

Moved the metadata into setup.cfg. #439

Open
wants to merge 2 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ __pycache__
.coverage
.tox/
.cache/

/hyper/version.py
6 changes: 4 additions & 2 deletions .travis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ if [[ "$HYPER_FAST_PARSE" = true ]]; then
pip install pycohttpparser~=1.0
fi

pip install -U setuptools
pip install .
pip install -U pip
pip install -U setuptools wheel build
python3 -m build -nwx .
pip install --upgrade ./dist/*.whl
pip install -r test_requirements.txt
pip install flake8
11 changes: 11 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Hyper: HTTP/2 Client for Python

**This project is no longer maintained!**

@Lukasa has long dropped its maintainment.
The last maintainer was @Kriechi. He now has an own project, `HTTPX`_, that also supports HTTP/2 and is partially based on libs that were used in hyper, and now he develops it.

He has left the message

Please use an alternative, such as `HTTPX`_ or others.

.. _HTTPX: https://www.python-httpx.org/
Expand All @@ -18,6 +23,12 @@ Potential security issues will not be addressed.

----

and archived the project.

This fork is "maintained" by @KOLANICH. I don't really develop it, just add the stuff I need personally.



.. image:: https://raw.github.com/Lukasa/hyper/development/docs/source/images/hyper.png

HTTP is changing under our feet. HTTP/1.1, our old friend, is being
Expand Down
2 changes: 1 addition & 1 deletion hyper/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
# Set default logging handler.
logging.getLogger(__name__).addHandler(logging.NullHandler())

__version__ = '0.8.0dev0'
from .version import __version__
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[build-system]
requires = ["setuptools>=44", "wheel", "setuptools_scm[toml]>=3.4.3"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
write_to = "hyper/version.py"
write_to_template = "__version__ = '{version}'\n"
56 changes: 55 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,59 @@
[metadata]
name = hyper
version = attr: setup.__version__
author = Cory Benfield
author_email = [email protected]
license = MIT License
description = HTTP/2 Client for Python
long_description = file: README.rst, HISTORY.rst
url = http://hyper.rtfd.org
classifiers =
Development Status :: 3 - Alpha
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: Implementation :: CPython

[options]
packages =
hyper
hyper.http20
hyper.common
hyper.http11
install_requires =
h2>=2.4,<3.0,!=2.5.0
hyperframe>=3.2,<4.0
rfc3986>=1.1.0,<2.0
brotlipy>=0.7.0
pyOpenSSL>=0.15; python_full_version < "2.7.9" # Fallback to good SSL on bad Python versions.
service_identity>=14.0.0; python_full_version < "2.7.9"
cryptography<1.0; platform_python_implementation == "pypy" and python_full_version < "2.7.9" # PyPy with bad SSL modules will likely also need the cryptography module at lower than 1.0, because it doesn't support CFFI v1.0 yet.
enum34>=1.0.4, <2; python_version == "2.7" or python_version == "3.3"

include_package_data = True
tests_require = pytest; requests; mock

[options.entry_points]
console_scripts = hyper = hyper.cli:main

[options.extras_require]
fast = pycohttpparser

[options.package_data]
"" =
LICENSE
README.rst
CONTRIBUTORS.rst
HISTORY.rst
NOTICES

[wheel]
universal = 1

[flake8]
max-complexity = 15
max-complexity = 15
102 changes: 0 additions & 102 deletions setup.py

This file was deleted.