Skip to content

Commit cf272da

Browse files
committed
build: update setup.py and pyproj
1 parent 875b0f0 commit cf272da

File tree

2 files changed

+27
-6
lines changed

2 files changed

+27
-6
lines changed

pyproject.toml

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,34 @@ tomli = "^2.0.1"
1616
emoji = "^2.1.0"
1717

1818
# Optional dependencies
19-
orjson = {version = "^3.6.8", optional = true}
20-
jurigged = {version = "^0.5.3", optional = true}
21-
aioconsole = {version = "^0.6.0", optional = true}
19+
aiodns = { version = "*", optional = true }
20+
orjson = { version = "*", optional = true }
21+
Brotli = { version = "*", optional = true }
22+
faust-cchardet = { version = "*", optional = true }
23+
uvloop = { version = "*", optional = true, platform = "!win32" }
24+
mkdocs-autorefs = { version = "*", optional = true }
25+
mkdocs-awesome-pages-plugin = { version = "*", optional = true }
26+
mkdocs-material = { version = "*", optional = true }
27+
mkdocstrings-python = { version = "*", optional = true }
28+
mkdocs-minify-plugin = { version = "*", optional = true }
29+
mkdocs-git-committers-plugin-2 = { version = "*", optional = true }
30+
mkdocs-git-revision-date-localized-plugin = { version = "*", optional = true }
31+
pytest = { version = "*", optional = true }
32+
pytest-recording = { version = "*", optional = true }
33+
pytest-asyncio = { version = "*", optional = true }
34+
pytest-cov = { version = "*", optional = true }
35+
python-dotenv = { version = "*", optional = true }
36+
typeguard = { version = "*", optional = true }
37+
pre-commit = { version = "*", optional = true }
2238

2339
[tool.poetry.extras]
24-
orjson = ["orjson"]
40+
voice = ["PyNaCl>=1.5.0,<1.6"]
41+
speedup = ["aiodns", "orjson", "Brotli", "faust-cchardet", "uvloop"]
42+
sentry = ["sentry-sdk"]
2543
jurigged = ["jurigged"]
26-
aioconsole = ["aioconsole"]
44+
console = ["aioconsole>=0.6.0"]
45+
docs = ["mkdocs-autorefs", "mkdocs-awesome-pages-plugin", "mkdocs-material", "mkdocstrings-python", "mkdocs-minify-plugin", "mkdocs-git-committers-plugin-2", "mkdocs-git-revision-date-localized-plugin"]
46+
tests = ["pytest", "pytest-recording", "pytest-asyncio", "pytest-cov", "python-dotenv", "typeguard"]
2747

2848
[tool.poetry.group.dev.dependencies]
2949
black = "^22.3.0"

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
extras_require = {
1111
"voice": ["PyNaCl>=1.5.0,<1.6"],
12-
"speedup": ["aiodns", "orjson", "Brotli"],
12+
"speedup": ["aiodns", "orjson", "Brotli", "faust-cchardet", "uvloop; sys_platform != 'win32'"],
1313
"sentry": ["sentry-sdk"],
1414
"jurigged": ["jurigged"],
1515
"console": ["aioconsole>=0.6.0"],
@@ -32,6 +32,7 @@
3232
"python-dotenv",
3333
"typeguard",
3434
]
35+
extras_require["dev"] = extras_require["tests"] + extras_require["docs"] + ["pre-commit"]
3536

3637
setup(
3738
name="interactions",

0 commit comments

Comments
 (0)