pip没有安装我的data_files,但easy_install却安装了
这是一个简短的问题。
源代码在这里:https://github.com/exhuma/grc
标题已经说明了我的问题;)
我已经在 pypi
上注册并上传了这个包。现在如果我运行 easy_install grc
,一切正常。但如果我运行 pip install grc
,虽然安装也没问题,但数据文件却没有安装。我不知道为什么会这样。有什么想法吗?
1 个回答
6
可能这些文件没有安装在你想的那个路径上。在Ubuntu 11.10系统中,我可以在 /usr/local/configs
这个地方找到它们,具体可以通过 pip 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
的输出,以确认一下。