Skip to content
Myr

setup.py

This file

Path

setup.py

31 lines · 694 bytes · Python

Last changed by

Version 0.23.1 (#2442)Tom Christiebefore adoptionf11eff4

History of this file

Take it

Add fake setup.py (#2351)Marcelo Trylesinskibefore adoption9f79b5c

lines 1–28why, one step back
1import sys
23from setuptools import setup45sys.stderr.write(6 """7===============================8Unsupported installation method9===============================10httpx no longer supports installation with `python setup.py install`.11Please use `python -m pip install .` instead.12"""13)14sys.exit(1)151617# The below code will never execute, however GitHub is particularly18# picky about where it finds Python packaging metadata.19# See: https://github.com/github/feedback/discussions/645620#21# To be removed once GitHub catches up.2223setup(24 name="httpx",25 install_requires=[26 "certifi",27 "sniffio",28 "rfc3986[idna2008]>=1.3,<2",

Version 0.23.1 (#2442)Tom Christiebefore adoptionf11eff4

line 29why, one step back
29 "httpcore>=0.15.0,<0.17.0",

Add fake setup.py (#2351)Marcelo Trylesinskibefore adoption9f79b5c

lines 30–31why, one step back
30 ],
31)