Skip to content
Myr

Add fake setup.py (#2351)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Marcelo Trylesinski · committed by GitHub · parent d835659 · Browse files · 1 file+31 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+31 added−0 removed

  • other:+31 added−0 removed

1 file+31 added−0 removed

added:setup.py+31 added
1import sys23from 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",29 "httpcore>=0.15.0,<0.16.0",30 ],31)