1
easy_install
根据鸡蛋信息中的值console_scripts
生成启动脚本。看起来鸡蛋没有指定完整路径,我如何检查生成的脚本是否会被放到/usr/bin
,/usr/local/bin
或其他地方?python-setuptools'easy_install将console_scripts放入哪个目录?
easy_install
根据鸡蛋信息中的值console_scripts
生成启动脚本。看起来鸡蛋没有指定完整路径,我如何检查生成的脚本是否会被放到/usr/bin
,/usr/local/bin
或其他地方?python-setuptools'easy_install将console_scripts放入哪个目录?
如果我正确地理解了你。你需要检查easy_install和setuptools目录吗?
#finds the path to easy_install if it exists
which easy_install
#where path/to/easy_install is the output from the above command
#this outputs your easy_install script which will mention the version of setuptools
less path/to/easy_install
不,例如有监督人鸡蛋,在console_scripts中有“supervisorctl = ...”,有时它被放到/ usr/bin /中,有时放到/ usr/local/bin中,我想知道为什么 – Fluffy
您能打印PATH变量吗? – discort