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.
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.
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> > _______________________________________
> 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.
History
Date
User
Action
Args
2022-04-11 14:57:08
admin
set
github: 54582
2010-11-12 22:04:25
eric.araujo
set
resolution: rejected -> not a bugstage: resolved
2010-11-12 22:00:37
fdrake
set
status: open -> closednosy: + fdrakemessages: + resolution: rejected