mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -04:00

Some checks are pending
Build Debian package / build (push) Waiting to run
Build Docker image / buildx (push) Waiting to run
Build Homebrew package / build (push) Waiting to run
Run linters / lint (push) Waiting to run
Build Pip package / build (push) Waiting to run
Run tests / python_tests (ubuntu-22.04, 3.11) (push) Waiting to run
Run tests / docker_tests (push) Waiting to run
51 lines
1.2 KiB
Python
51 lines
1.2 KiB
Python
__package__ = 'plugins_pkg.pip'
|
|
__label__ = 'pip'
|
|
__version__ = '2024.10.14'
|
|
__author__ = 'Nick Sweeting'
|
|
__homepage__ = 'https://github.com/pypa/pip'
|
|
|
|
import abx
|
|
|
|
|
|
@abx.hookimpl
|
|
def get_PLUGIN():
|
|
return {
|
|
'pip': {
|
|
'PACKAGE': __package__,
|
|
'LABEL': __label__,
|
|
'VERSION': __version__,
|
|
'AUTHOR': __author__,
|
|
'HOMEPAGE': __homepage__,
|
|
}
|
|
}
|
|
|
|
@abx.hookimpl
|
|
def get_CONFIG():
|
|
from .config import PIP_CONFIG
|
|
|
|
return {
|
|
'pip': PIP_CONFIG
|
|
}
|
|
|
|
@abx.hookimpl
|
|
def get_BINARIES():
|
|
from .binaries import ARCHIVEBOX_BINARY, PYTHON_BINARY, DJANGO_BINARY, SQLITE_BINARY, PIP_BINARY, PIPX_BINARY
|
|
|
|
return {
|
|
'archivebox': ARCHIVEBOX_BINARY,
|
|
'python': PYTHON_BINARY,
|
|
'django': DJANGO_BINARY,
|
|
'sqlite': SQLITE_BINARY,
|
|
'pip': PIP_BINARY,
|
|
'pipx': PIPX_BINARY,
|
|
}
|
|
|
|
@abx.hookimpl
|
|
def get_BINPROVIDERS():
|
|
from .binproviders import SYS_PIP_BINPROVIDER, VENV_PIP_BINPROVIDER, LIB_PIP_BINPROVIDER
|
|
|
|
return {
|
|
'sys_pip': SYS_PIP_BINPROVIDER,
|
|
'venv_pip': VENV_PIP_BINPROVIDER,
|
|
'lib_pip': LIB_PIP_BINPROVIDER,
|
|
}
|