问题
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