In short, no. Pipenv is designed to only manage Python packages, and cannot be used to access a software that’s not available as a Python package.

APT’s software package format (DEB) is significantly different from Python’s, and it is not possible to mix them together unless the tool is designed specifically to support such an operation; Pipenv does not try to set foot in this area.


On 28/3/2020, at 01:30, Samuel Mutel <samuel.mutel@gmail.com> wrote:


I have a pipfile like this.
I would like to install python-apt library but not from pypi but from the system.
Is-it possible?
This python library is no longer supported on pypi but is supported in the package distribution.

name = "pypi"                                                                                      
url = "https://pypi.org/simple"                                                                    
verify_ssl = true                                                                                  
ansible = "==2.8.4"                                                                                
ansible-lint = "*"                                                                                  
molecule = "*"                                                                                      
docker-py = "*"                                                                                    
python_version = "3"
Distutils-SIG mailing list -- distutils-sig@python.org
To unsubscribe send an email to distutils-sig-leave@python.org
Message archived at https://mail.python.org/archives/list/distutils-sig@python.org/message/Y5ANHS5NPQE52RZ565EMC7ZNQDUWI5JE/