mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-07 19:59:18 +02:00
While nothing explicitly prompted updating this, letting `pip` and `pip-tools` diverage too greatly in version release dates seems like a bad idea, especially with the various deprecations in `pip` and `python3.12`. This also vendors the implicit dependencies `build`, `tomli`, and `pyproject_hooks`. Differential Revision: https://phabricator.services.mozilla.com/D210526
9 lines
339 B
Python
9 lines
339 B
Python
from __future__ import annotations
|
|
|
|
from pip._internal.utils.appdirs import user_cache_dir
|
|
|
|
# The user_cache_dir helper comes straight from pip itself
|
|
CACHE_DIR = user_cache_dir("pip-tools")
|
|
|
|
# The project defaults specific to pip-tools should be written to this filenames
|
|
DEFAULT_CONFIG_FILE_NAMES = (".pip-tools.toml", "pyproject.toml")
|