This repository was archived by the owner on Jan 13, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +69
-106
lines changed Expand file tree Collapse file tree 6 files changed +69
-106
lines changed Original file line number Diff line number Diff line change @@ -7,3 +7,5 @@ __pycache__
77.coverage
88.tox /
99.cache /
10+
11+ /hyper /version.py
Original file line number Diff line number Diff line change @@ -7,7 +7,9 @@ if [[ "$HYPER_FAST_PARSE" = true ]]; then
77 pip install pycohttpparser~=1.0
88fi
99
10- pip install -U setuptools
11- pip install .
10+ pip install -U pip
11+ pip install -U setuptools wheel build
12+ python3 -m build -nwx .
13+ pip install --upgrade ./dist/* .whl
1214pip install -r test_requirements.txt
1315pip install flake8
Original file line number Diff line number Diff line change 3333# Set default logging handler.
3434logging .getLogger (__name__ ).addHandler (logging .NullHandler ())
3535
36- __version__ = '0.8.0dev0'
36+ from . version import __version__
Original file line number Diff line number Diff line change 1+ [build-system ]
2+ requires = [" setuptools>=44" , " wheel" , " setuptools_scm[toml]>=3.4.3" ]
3+ build-backend = " setuptools.build_meta"
4+
5+ [tool .setuptools_scm ]
6+ write_to = " hyper/version.py"
7+ write_to_template = " __version__ = '{version}'\n "
Original file line number Diff line number Diff line change 1+ [metadata]
2+ name = hyper
3+ version = attr: setup.__version__
4+ author = Cory Benfield
5+ author_email = cory@lukasa.co.uk
6+ license = MIT License
7+ description = HTTP/2 Client for Python
8+ long_description = file: README.rst, HISTORY.rst
9+ url = http://hyper.rtfd.org
10+ classifiers =
11+ Development Status :: 3 - Alpha
12+ Intended Audience :: Developers
13+ License :: OSI Approved :: MIT License
14+ Programming Language :: Python
15+ Programming Language :: Python :: 2
16+ Programming Language :: Python :: 2.7
17+ Programming Language :: Python :: 3
18+ Programming Language :: Python :: 3.4
19+ Programming Language :: Python :: 3.5
20+ Programming Language :: Python :: Implementation :: CPython
21+
22+ [options]
23+ packages =
24+ hyper
25+ hyper.http20
26+ hyper.common
27+ hyper.http11
28+ install_requires =
29+ h2>=2.4,<3.0,!=2.5.0
30+ hyperframe>=3.2,<4.0
31+ rfc3986>=1.1.0,<2.0
32+ brotlipy>=0.7.0
33+ pyOpenSSL>=0.15; python_full_version < "2.7.9" # Fallback to good SSL on bad Python versions.
34+ service_identity>=14.0.0; python_full_version < "2.7.9"
35+ 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.
36+ enum34>=1.0.4, <2; python_version == "2.7" or python_version == "3.3"
37+
38+ include_package_data = True
39+ tests_require = pytest; requests; mock
40+
41+ [options.entry_points]
42+ console_scripts = hyper = hyper.cli:main
43+
44+ [options.extras_require]
45+ fast = pycohttpparser
46+
47+ [options.package_data]
48+ " " =
49+ LICENSE
50+ README.rst
51+ CONTRIBUTORS.rst
52+ HISTORY.rst
53+ NOTICES
54+
155[wheel]
256universal = 1
357
458[flake8]
5- max-complexity = 15
59+ max-complexity = 15
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments