pip没有安装我的data_files.但easy_install确实如此

exh*_*uma 4 python pip easy-install setup.py

这将是一个简短的问题.

来源是:https://github.com/exhuma/grc

标题解释了我的问题;)

我注册并上传了包pypi.现在,如果我跑easy_install grc,它按预期工作.但如果我运行pip install grc,它安装正确,但不安装data_files.我不明白为什么会这样.有任何想法吗?

jco*_*ado 5

可能文件未安装在您期望的路径中.在Ubuntu 11.10中,我看到它们/usr/local/configspip uninstall输出中可以看到:

$ sudo pip uninstall grc
Uninstalling grc:
  /usr/local/bin/grc
  /usr/local/configs/apache_access.yml
  /usr/local/configs/aptitude.yml
  /usr/local/configs/pysetup.yml
  /usr/local/lib/python2.7/dist-packages/grc
  /usr/local/lib/python2.7/dist-packages/grc-1.0b3.egg-info
Proceed (y/n)?
Run Code Online (Sandbox Code Playgroud)

在您的系统中,我猜您也可以检查输出pip uninstall以确保.