python-setuptools的easy_install将console_scripts放到哪个目录中?

时间:2015-04-08 15:03:24

标签: python easy-install egg

easy_install根据egg信息中的console_scripts值生成启动器脚本。看来鸡蛋没有指定完整路径,如何检查生成的脚本是否会放到/usr/bin/usr/local/bin或其他地方?

1 个答案:

答案 0 :(得分:-1)

如果我理解正确的话。你需要检查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