[issue10373] Setup Script example incorrect

New submission from Kirk Clendinning <kirk@heliospectra.se>: In 2.7. Installing Additional Files the example shows: setup(..., data_files=[('bitmaps', ['bm/b1.gif', 'bm/b2.gif']), ('config', ['cfg/data.cfg']), ('/etc/init.d', ['init-script'])] ) However, running easy_install with setuptools results in a error: Setup script exited with error: SandboxViolation: open('/etc/init.d/init-script', 'wb') {} Perhaps the documentation should be changed and more explanation added. ---------- assignee: docs@python components: Documentation messages: 120863 nosy: docs@python, lensart priority: normal severity: normal status: open title: Setup Script example incorrect type: behavior versions: Python 2.5 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue10373> _______________________________________

Éric Araujo <merwok@netwok.org> added the comment: Thanks for the report. Setuptools is not a part of Python, and distutils docs don’t mention issues specific to third-party tools. I think I will reject this bug. ---------- assignee: docs@python -> eric.araujo nosy: +eric.araujo status: open -> pending _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue10373> _______________________________________

Kirk Clendinning <kirk@heliospectra.se> added the comment: Interesting... the link at the bottom of the page for reporting bugs went to the python bug tracker.. perhaps the web page should be checked for an incorrect link. -k- On Nov 12, 2010, at 18:22 , Éric Araujo wrote:
Éric Araujo <merwok@netwok.org> added the comment:
Thanks for the report. Setuptools is not a part of Python, and distutils docs don’t mention issues specific to third-party tools. I think I will reject this bug.
---------- assignee: docs@python -> eric.araujo nosy: +eric.araujo status: open -> pending
_______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue10373> _______________________________________
---------- status: pending -> open _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue10373> _______________________________________

Fred L. Drake, Jr. <fdrake@acm.org> added the comment:
perhaps the web page should be checked for an incorrect link.
The link from the Python documentation to the Python bug tracker is fine. If you were using distutils directly, it would be an issue for the Python tracker. You're not. setuptools is a separate project; you should refer to it's documentation and it's tracker. ---------- nosy: +fdrake resolution: -> rejected status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue10373> _______________________________________

Changes by Éric Araujo <merwok@netwok.org>: ---------- resolution: rejected -> invalid stage: -> committed/rejected _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue10373> _______________________________________
participants (3)
-
Fred L. Drake, Jr.
-
Kirk Clendinning
-
Éric Araujo