2023-10-20 00:49:06 +00:00
|
|
|
[project]
|
|
|
|
name = "archivebox"
|
2024-01-04 04:37:00 +00:00
|
|
|
version = "0.7.2"
|
2023-10-20 00:49:06 +00:00
|
|
|
description = "Self-hosted internet archiving solution."
|
|
|
|
authors = [
|
2023-11-14 10:24:51 +00:00
|
|
|
{name = "Nick Sweeting", email = "pyproject.toml@archivebox.io"},
|
2023-10-20 00:49:06 +00:00
|
|
|
]
|
|
|
|
dependencies = [
|
|
|
|
"croniter>=0.3.34",
|
|
|
|
"dateparser>=1.0.0",
|
|
|
|
"django-extensions>=3.0.3",
|
|
|
|
"django>=3.1.3,<3.2",
|
|
|
|
"ipython>5.0.0",
|
|
|
|
"mypy-extensions>=0.4.3",
|
|
|
|
"python-crontab>=2.5.1",
|
|
|
|
"requests>=2.24.0",
|
|
|
|
"w3lib>=1.22.0",
|
2023-11-14 10:24:51 +00:00
|
|
|
"yt-dlp>=2023.10.13",
|
2023-10-31 13:28:11 +00:00
|
|
|
# "playwright>=1.39.0; platform_machine != 'armv7l'",
|
2023-10-20 00:49:06 +00:00
|
|
|
]
|
|
|
|
requires-python = ">=3.9"
|
|
|
|
readme = "README.md"
|
|
|
|
license = {text = "MIT"}
|
|
|
|
classifiers = [
|
|
|
|
"Development Status :: 4 - Beta",
|
|
|
|
"Environment :: Console",
|
|
|
|
"Environment :: Web Environment",
|
|
|
|
"Framework :: Django",
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"Intended Audience :: Education",
|
|
|
|
"Intended Audience :: End Users/Desktop",
|
|
|
|
"Intended Audience :: Information Technology",
|
|
|
|
"Intended Audience :: Legal Industry",
|
|
|
|
"Intended Audience :: System Administrators",
|
|
|
|
"License :: OSI Approved :: MIT License",
|
|
|
|
"Natural Language :: English",
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Programming Language :: Python :: 3.7",
|
|
|
|
"Programming Language :: Python :: 3.8",
|
|
|
|
"Programming Language :: Python :: 3.9",
|
2023-12-18 01:55:35 +00:00
|
|
|
"Programming Language :: Python :: 3.10",
|
|
|
|
"Programming Language :: Python :: 3.11",
|
|
|
|
"Programming Language :: Python :: 3.12",
|
2023-10-20 00:49:06 +00:00
|
|
|
"Topic :: Internet :: WWW/HTTP",
|
|
|
|
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
|
|
|
|
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
|
|
|
|
"Topic :: Sociology :: History",
|
|
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
|
|
"Topic :: System :: Archiving",
|
|
|
|
"Topic :: System :: Archiving :: Backup",
|
|
|
|
"Topic :: System :: Recovery Tools",
|
|
|
|
"Topic :: Utilities",
|
|
|
|
"Typing :: Typed",
|
|
|
|
]
|
|
|
|
|
|
|
|
# pdm lock -G:all
|
|
|
|
# pdm install -G:all
|
|
|
|
[tool.pdm.dev-dependencies]
|
2023-11-14 10:24:51 +00:00
|
|
|
dev = [
|
|
|
|
# build
|
|
|
|
"setuptools>=68.2.2",
|
2023-10-20 00:49:06 +00:00
|
|
|
"wheel",
|
2023-10-31 10:06:02 +00:00
|
|
|
"pdm",
|
2023-11-14 10:24:51 +00:00
|
|
|
"homebrew-pypi-poet>=0.10.0",
|
|
|
|
# docs
|
2023-10-20 00:49:06 +00:00
|
|
|
"recommonmark",
|
|
|
|
"sphinx",
|
|
|
|
"sphinx-rtd-theme",
|
2023-11-14 10:24:51 +00:00
|
|
|
# debug
|
|
|
|
"django-debug-toolbar",
|
|
|
|
"djdt_flamegraph",
|
|
|
|
"ipdb",
|
|
|
|
# test
|
|
|
|
"pytest",
|
|
|
|
# lint
|
|
|
|
"flake8",
|
|
|
|
"mypy",
|
|
|
|
"django-stubs",
|
2023-11-04 02:14:41 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[tool.pdm.scripts]
|
|
|
|
lint = "./bin/lint.sh"
|
|
|
|
test = "./bin/test.sh"
|
|
|
|
# all = {composite = ["lint mypackage/", "test -v tests/"]}
|
2023-10-20 00:49:06 +00:00
|
|
|
|
|
|
|
[project.optional-dependencies]
|
|
|
|
sonic = [
|
2023-10-20 11:08:38 +00:00
|
|
|
# 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
|
2023-10-20 00:49:06 +00:00
|
|
|
"sonic-client>=0.0.5",
|
|
|
|
]
|
|
|
|
ldap = [
|
2023-10-20 11:08:38 +00:00
|
|
|
# apt install libldap2-dev libsasl2-dev
|
2023-10-31 12:31:19 +00:00
|
|
|
"python-ldap>=3.4.3",
|
2023-10-20 00:49:06 +00:00
|
|
|
"django-auth-ldap>=4.1.0",
|
|
|
|
]
|
2023-10-31 13:28:11 +00:00
|
|
|
# playwright = [
|
|
|
|
# platform_machine isnt respected by pdm export -o requirements.txt, this breaks arm/v7
|
|
|
|
# "playwright>=1.39.0; platform_machine != 'armv7l'",
|
|
|
|
# ]
|
2023-10-20 00:49:06 +00:00
|
|
|
|
|
|
|
[project.scripts]
|
|
|
|
archivebox = "archivebox.cli:main"
|
|
|
|
|
|
|
|
[build-system]
|
|
|
|
requires = ["pdm-backend"]
|
|
|
|
build-backend = "pdm.backend"
|
|
|
|
|
|
|
|
|
|
|
|
[project.urls]
|
|
|
|
Homepage = "https://github.com/ArchiveBox/ArchiveBox"
|
|
|
|
Source = "https://github.com/ArchiveBox/ArchiveBox"
|
|
|
|
Documentation = "https://github.com/ArchiveBox/ArchiveBox/wiki"
|
|
|
|
"Bug Tracker" = "https://github.com/ArchiveBox/ArchiveBox/issues"
|
|
|
|
Changelog = "https://github.com/ArchiveBox/ArchiveBox/releases"
|
|
|
|
Roadmap = "https://github.com/ArchiveBox/ArchiveBox/wiki/Roadmap"
|
|
|
|
Community = "https://github.com/ArchiveBox/ArchiveBox/wiki/Web-Archiving-Community"
|
|
|
|
Demo = "https://demo.archivebox.io"
|
|
|
|
Donate = "https://github.com/ArchiveBox/ArchiveBox/wiki/Donations"
|
|
|
|
|
|
|
|
|