4

这将是一个简短的问题。

来源在这里:https ://github.com/exhuma/grc

标题解释了我的问题;)

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

4

1 回答 1

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)?

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

于 2011-12-12T08:34:37.037 回答