pip is not installing my data_files. But easy_install does

余生长醉 提交于 2021-02-20 19:16:20

问题


This is going to be a short question.

The source is here: https://github.com/exhuma/grc

And the title explains my problem ;)

I registered and uploaded the package to pypi. Now if I run easy_install grc, it works as expected. But if I run pip install grc, it installs properly, but does not install the data_files. I don't see why this is happening. Any ideas?


回答1:


Maybe the files aren't installed in the path you expect. In Ubuntu 11.10, I see them under /usr/local/configs as it can be seen in pip uninstall output:

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

In your system, I guess you can check also the output of pip uninstall to make sure.



来源:https://stackoverflow.com/questions/8471507/pip-is-not-installing-my-data-files-but-easy-install-does

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!