wip comments and reordering in pyproject.tom
This commit is contained in:
parent
f839f4f16e
commit
a74486689c
|
@ -5,7 +5,12 @@ description = "Self-hosted internet archiving solution."
|
||||||
authors = [
|
authors = [
|
||||||
{name = "Nick Sweeting", email = "pyproject.toml@archivebox.io"},
|
{name = "Nick Sweeting", email = "pyproject.toml@archivebox.io"},
|
||||||
]
|
]
|
||||||
|
license = {text = "MIT"}
|
||||||
|
readme = "README.md"
|
||||||
|
package-dir = "archivebox"
|
||||||
|
requires-python = ">=3.9,<3.12"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
# pdm update [--unconstrained]
|
||||||
"croniter>=0.3.34",
|
"croniter>=0.3.34",
|
||||||
"dateparser>=1.0.0",
|
"dateparser>=1.0.0",
|
||||||
"django-extensions>=3.0.3",
|
"django-extensions>=3.0.3",
|
||||||
|
@ -18,9 +23,6 @@ dependencies = [
|
||||||
"yt-dlp>=2023.10.13",
|
"yt-dlp>=2023.10.13",
|
||||||
# "playwright>=1.39.0; platform_machine != 'armv7l'",
|
# "playwright>=1.39.0; platform_machine != 'armv7l'",
|
||||||
]
|
]
|
||||||
requires-python = ">=3.9,<3.12"
|
|
||||||
readme = "README.md"
|
|
||||||
license = {text = "MIT"}
|
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Development Status :: 4 - Beta",
|
"Development Status :: 4 - Beta",
|
||||||
"Environment :: Console",
|
"Environment :: Console",
|
||||||
|
@ -54,26 +56,45 @@ classifiers = [
|
||||||
"Typing :: Typed",
|
"Typing :: Typed",
|
||||||
]
|
]
|
||||||
|
|
||||||
# pdm lock -G:all
|
[project.optional-dependencies]
|
||||||
# pdm install -G:all
|
# pdm update [--group=':all'] [--unconstrained]
|
||||||
|
sonic = [
|
||||||
|
# echo "deb [signed-by=/usr/share/keyrings/valeriansaliou_sonic.gpg] https://packagecloud.io/valeriansaliou/sonic/debian/ bookworm main" > /etc/apt/sources.list.d/valeriansaliou_sonic.list
|
||||||
|
# curl -fsSL https://packagecloud.io/valeriansaliou/sonic/gpgkey | gpg --dearmor -o /usr/share/keyrings/valeriansaliou_sonic.gpg
|
||||||
|
"sonic-client>=0.0.5",
|
||||||
|
]
|
||||||
|
ldap = [
|
||||||
|
# apt install libldap2-dev libsasl2-dev
|
||||||
|
"setuptools>=69.0.3",
|
||||||
|
"python-ldap>=3.4.3",
|
||||||
|
"django-auth-ldap>=4.1.0",
|
||||||
|
]
|
||||||
|
# playwright = [
|
||||||
|
# platform_machine isnt respected by pdm export -o requirements.txt, this breaks arm/v7
|
||||||
|
# "playwright>=1.39.0; platform_machine != 'armv7l'",
|
||||||
|
# ]
|
||||||
|
|
||||||
|
|
||||||
|
# pdm install -G:all --dev
|
||||||
|
# pdm update --dev [--unconstrained]
|
||||||
[tool.pdm.dev-dependencies]
|
[tool.pdm.dev-dependencies]
|
||||||
dev = [
|
dev = [
|
||||||
# build
|
# building
|
||||||
"setuptools>=69.0.3",
|
"setuptools>=69.0.3",
|
||||||
"wheel",
|
"wheel",
|
||||||
"pdm",
|
"pdm",
|
||||||
"homebrew-pypi-poet>=0.10.0",
|
"homebrew-pypi-poet>=0.10.0",
|
||||||
# docs
|
# documentation
|
||||||
"recommonmark",
|
"recommonmark",
|
||||||
"sphinx",
|
"sphinx",
|
||||||
"sphinx-rtd-theme",
|
"sphinx-rtd-theme",
|
||||||
# debug
|
# debugging
|
||||||
"django-debug-toolbar",
|
"django-debug-toolbar",
|
||||||
"djdt_flamegraph",
|
"djdt_flamegraph",
|
||||||
"ipdb",
|
"ipdb",
|
||||||
# test
|
# testing
|
||||||
"pytest",
|
"pytest",
|
||||||
# lint
|
# linting
|
||||||
"flake8",
|
"flake8",
|
||||||
"mypy",
|
"mypy",
|
||||||
"django-stubs",
|
"django-stubs",
|
||||||
|
@ -84,22 +105,6 @@ lint = "./bin/lint.sh"
|
||||||
test = "./bin/test.sh"
|
test = "./bin/test.sh"
|
||||||
# all = {composite = ["lint mypackage/", "test -v tests/"]}
|
# all = {composite = ["lint mypackage/", "test -v tests/"]}
|
||||||
|
|
||||||
[project.optional-dependencies]
|
|
||||||
sonic = [
|
|
||||||
# echo "deb [signed-by=/usr/share/keyrings/valeriansaliou_sonic.gpg] https://packagecloud.io/valeriansaliou/sonic/debian/ bookworm main" > /etc/apt/sources.list.d/valeriansaliou_sonic.list
|
|
||||||
# curl -fsSL https://packagecloud.io/valeriansaliou/sonic/gpgkey | gpg --dearmor -o /usr/share/keyrings/valeriansaliou_sonic.gpg
|
|
||||||
"sonic-client>=0.0.5",
|
|
||||||
]
|
|
||||||
ldap = [
|
|
||||||
# apt install libldap2-dev libsasl2-dev
|
|
||||||
"python-ldap>=3.4.3",
|
|
||||||
"django-auth-ldap>=4.1.0",
|
|
||||||
]
|
|
||||||
# playwright = [
|
|
||||||
# platform_machine isnt respected by pdm export -o requirements.txt, this breaks arm/v7
|
|
||||||
# "playwright>=1.39.0; platform_machine != 'armv7l'",
|
|
||||||
# ]
|
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
archivebox = "archivebox.cli:main"
|
archivebox = "archivebox.cli:main"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue