forked from pydantic/pydantic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (24 loc) · 660 Bytes
/
setup.py
File metadata and controls
28 lines (24 loc) · 660 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import sys
sys.stderr.write(
"""
===============================
Unsupported installation method
===============================
pydantic no longer supports installation with `python setup.py install`.
Please use `python -m pip install .` instead.
"""
)
sys.exit(1)
# The below code will never execute, however GitHub is particularly
# picky about where it finds Python packaging metadata.
# See: https://github.com/github/feedback/discussions/6456
#
# To be removed once GitHub catches up.
setup(
name='pydantic',
install_requires=[
'typing-extensions>=4.1.0',
'pydantic-core>=0.7.1',
'annotated-types>=0.4.0'
],
)