chore: add `pydantic` dependency
This commit is contained in:
parent
179472bd6e
commit
d27f95a863
2
Pipfile
2
Pipfile
|
|
@ -5,7 +5,9 @@ name = "pypi"
|
||||||
|
|
||||||
[packages]
|
[packages]
|
||||||
orjson = "*"
|
orjson = "*"
|
||||||
|
pydantic = ">=2"
|
||||||
"discord.py" = {extras = ["voice"], version = "*"}
|
"discord.py" = {extras = ["voice"], version = "*"}
|
||||||
|
websockets = "*"
|
||||||
|
|
||||||
[dev-packages]
|
[dev-packages]
|
||||||
mypy = "*"
|
mypy = "*"
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -4,7 +4,7 @@ import re
|
||||||
import setuptools
|
import setuptools
|
||||||
|
|
||||||
version = ""
|
version = ""
|
||||||
requirements = ["aiohttp>=3.7.4,<4", "orjson", "websockets"]
|
requirements = ["aiohttp>=3.7.4,<4", "orjson", "websockets", "pydantic>=2"]
|
||||||
with open("pomice/__init__.py") as f:
|
with open("pomice/__init__.py") as f:
|
||||||
version = re.search(
|
version = re.search(
|
||||||
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
|
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue