Feature request: `--config-settings` options with `pipenv install`
Is your feature request related to a problem? Please describe.
pip install accepts --config-settings X=Y options, but it seems not possible to pass it using pipenv install.
Describe the solution you'd like
I would like to be able to run pipenv install as following:
$ pipenv install --editable . --config-settings X=YThe --config-settings should be reflected in the Pipfile. So, pipenv install can reproduce it elsewhere.
Describe alternatives you've considered
I uninstall the package and reinstall it with pip within the pipenv shell.
$ pip3 uninstall X
$ pip3 install --editable . --config-settings X=YAdditional context
The motivation was to use pip3 install --editable . --config-settings editable_mode=strict to control setuptools.
(See https://setuptools.pypa.io/en/latest/userguide/development_mode.html)
$ pipenv --support
Pipenv version: '2022.4.8'
Pipenv location: '/opt/homebrew/lib/python3.9/site-packages/pipenv'
Python location: '/opt/homebrew/opt/[email protected]/bin/python3.9'
Python installations found:
3.10.9:/opt/homebrew/bin/python33.9.16:/Users/duckki/.virtualenvs/slither-task-6QVhErCU/bin/python33.9.16:/Users/duckki/.virtualenvs/slither-task-6QVhErCU/bin/python3.9.16:/Users/duckki/.virtualenvs/slither-task-6QVhErCU/bin/python3.93.9.16:/Users/duckki/.virtualenvs/slither-task-6QVhErCU/bin/python33.9.16:/Users/duckki/.virtualenvs/slither-task-6QVhErCU/bin/python3.9.16:/Users/duckki/.virtualenvs/slither-task-6QVhErCU/bin/python3.93.9.16:/opt/homebrew/opt/[email protected]/libexec/bin/python33.9.16:/opt/homebrew/opt/[email protected]/libexec/bin/python3.9.16:/opt/homebrew/bin/python3.93.9.6:/usr/bin/python3
PEP 508 Information:
{'implementation_name': 'cpython',
'implementation_version': '3.9.16',
'os_name': 'posix',
'platform_machine': 'arm64',
'platform_python_implementation': 'CPython',
'platform_release': '21.6.0',
'platform_system': 'Darwin',
'platform_version': 'Darwin Kernel Version 21.6.0: Thu Mar 9 20:12:21 PST '
'2023; root:xnu-8020.240.18.700.8~1/RELEASE_ARM64_T6000',
'python_full_version': '3.9.16',
'python_version': '3.9',
'sys_platform': 'darwin'}System environment variables:
TERM_SESSION_IDSSH_AUTH_SOCKLC_TERMINAL_VERSIONCOLORFGBGITERM_PROFILEXPC_FLAGSLANGPWDSHELL__CFBundleIdentifierSECURITYSESSIONIDTERM_PROGRAM_VERSIONTERM_PROGRAMPATHDISPLAYLC_TERMINALCOLORTERMCOMMAND_MODETERMHOMETMPDIRUSERXPC_SERVICE_NAMELOGNAMELaunchInstanceID__CF_USER_TEXT_ENCODINGITERM_SESSION_IDSHLVLOLDPWDHOMEBREW_PREFIXHOMEBREW_CELLARHOMEBREW_REPOSITORYMANPATHINFOPATHRIPGREP_CONFIG_PATHZSHPAGERLESSLSCOLORSVIRTUALENVWRAPPER_PROJECT_FILENAMEVIRTUALENVWRAPPER_WORKON_CDVIRTUALENVWRAPPER_SCRIPTWORKON_HOMEVIRTUALENVWRAPPER_HOOK_DIROPAM_SWITCH_PREFIXCAML_LD_LIBRARY_PATHOCAML_TOPLEVEL_PATHPIP_DISABLE_PIP_VERSION_CHECKPIP_PYTHON_PATHPYTHONDONTWRITEBYTECODEPIPENV_ACTIVEVIRTUAL_ENVPS1_PIP_SHIMS_BASE_MODULEPYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
PIPENV_ACTIVE:1
Debug–specific environment variables:
PATH:/Users/duckki/.virtualenvs/slither-task-6QVhErCU/bin:/Users/duckki/.opam/default/bin:/Users/duckki/.poetry/bin:/Users/duckki/.poetry/bin:/Users/duckki/local/bin:/opt/homebrew/opt/coreutils/libexec/gnubin:/opt/homebrew/opt/[email protected]/libexec/bin:/Users/duckki/.opam/default/bin:/Users/duckki/.poetry/bin:/Users/duckki/.poetry/bin:/Users/duckki/local/bin:/opt/homebrew/opt/coreutils/libexec/gnubin:/opt/homebrew/opt/[email protected]/libexec/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/duckki/.foundry/bin:/Users/duckki/.foundry/binSHELL:/bin/zshLANG:en_US.UTF-8PWD:/Users/duckki/work/slither-taskVIRTUAL_ENV:/Users/duckki/.virtualenvs/slither-task-6QVhErCU
Contents of Pipfile ('/Users/duckki/work/slither-task/Pipfile'):
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
toml = "*"
semver = "*"
solc-select = "*"
urllib3 = "*"
antlr4-python3-runtime = "==4.9"
slither-analyzer = {editable = true, path = "./utilities/slither"}
certik-slither-plugin = {editable = true, path = "./slither-plugin"}
[dev-packages]
[requires]
python_version = "3.9"
Source: pypa/pipenv