Python 3.x 如何在setup.py ubuntu中获取pip3安装路径
在安装我的pip包时,我试图获取安装路径。它会随机选择安装路径,比如dist包或site包。是否有办法在setup.py中安装我的软件包。但是我不想在安装中使用像pip3 install-packagename这样的target命令——target=/home/usr/.local/lib/python3.6/site-packages 我试图获取包Python 3.x 如何在setup.py ubuntu中获取pip3安装路径,python-3.x,setuptools,Python 3.x,Setuptools,在安装我的pip包时,我试图获取安装路径。它会随机选择安装路径,比如dist包或site包。是否有办法在setup.py中安装我的软件包。但是我不想在安装中使用像pip3 install-packagename这样的target命令——target=/home/usr/.local/lib/python3.6/site-packages 我试图获取包请求的路径,但在ubuntu中它位于站点包中,而对于raspberry pi,它位于dist包中 查找_包()
请求的路径,但在ubuntu中它位于站点包中,而对于raspberry pi,它位于dist包中
查找_包()