Hi,<br><br>I am confused about how to provide bash completion files for users of a program to be installed via setuptools. <br>I am working with Ubuntu Lucid mainly, and I have a setup.py like this:<br><br>setup(...<br>      data_files=[(&#39;/etc/bash_completion.d&#39;, [&#39;contrib/mytool.bash&#39;])])<br>
<br>And also a MANIFEST.in with this<br>include contrib/mytool.bash<br><br>as a workaround for this problem:<br><a href="http://stackoverflow.com/questions/2994396/python-distutils-does-not-include-data-files">http://stackoverflow.com/questions/2994396/python-distutils-does-not-include-data-files</a><br>
<br>Now what happens in Ubuntu Lucid is that easy_install will fail with a SandboxViolation for these files if I easy_install the software.<br>pip install however does not fail. I do not want to force users to use pip, and I am not sure whether easy_install is doing the right thing in using a sandbox.<br>
<br>Also i have no idea what will happen on windows machines, where no /etc exists, and no bash exists neither.<br><br>So can somebody here tell me how I should approach this problem?<br><br>If anyone wants to reproduce, try this:<br>
sudo easy_install -U rosinstall==0.6.9<br><br>regards,<br>  Thibault<br>