Pip does not set my datafiles. But easy_install does

This will be a short question.

Source is here: https://github.com/exhuma/grc

And the name explains my problem;)

I registered and downloaded the package in pypi . Now, if I run easy_install grc , it works as expected. But if I run pip install grc , it will install correctly, but will not set data_files. I do not understand why this is happening. Any ideas?

+4
source share
1 answer

Files may not be installed in the path you expect. In Ubuntu 11.10, I see them under /usr/local/configs , as seen in 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)? 

On your system, I think you can also check pip uninstall .

+5
source

Source: https://habr.com/ru/post/1385848/


All Articles