Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup Script example incorrect #54582

Closed
lensart mannequin opened this issue Nov 9, 2010 · 4 comments
Closed

Setup Script example incorrect #54582

lensart mannequin opened this issue Nov 9, 2010 · 4 comments
Assignees
Labels
docs Documentation in the Doc dir type-bug An unexpected behavior, bug, or error

Comments

@lensart
Copy link
Mannequin

lensart mannequin commented Nov 9, 2010

BPO 10373
Nosy @freddrake, @merwok

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/merwok'
closed_at = <Date 2010-11-12.22:00:37.524>
created_at = <Date 2010-11-09.13:09:04.953>
labels = ['type-bug', 'invalid', 'docs']
title = 'Setup Script example incorrect'
updated_at = <Date 2010-11-12.22:04:25.072>
user = 'https://bugs.python.org/lensart'

bugs.python.org fields:

activity = <Date 2010-11-12.22:04:25.072>
actor = 'eric.araujo'
assignee = 'eric.araujo'
closed = True
closed_date = <Date 2010-11-12.22:00:37.524>
closer = 'fdrake'
components = ['Documentation']
creation = <Date 2010-11-09.13:09:04.953>
creator = 'lensart'
dependencies = []
files = []
hgrepos = []
issue_num = 10373
keywords = []
message_count = 4.0
messages = ['120863', '121048', '121083', '121084']
nosy_count = 4.0
nosy_names = ['fdrake', 'eric.araujo', 'docs@python', 'lensart']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue10373'
versions = ['Python 2.5']

@lensart
Copy link
Mannequin Author

lensart mannequin commented Nov 9, 2010

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.

@lensart lensart mannequin assigned docspython Nov 9, 2010
@lensart lensart mannequin added docs Documentation in the Doc dir type-bug An unexpected behavior, bug, or error labels Nov 9, 2010
@merwok
Copy link
Member

merwok commented Nov 12, 2010

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.

@merwok merwok assigned merwok and unassigned docspython Nov 12, 2010
@lensart
Copy link
Mannequin Author

lensart mannequin commented Nov 12, 2010

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\>


@freddrake
Copy link
Member

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.

@merwok merwok added the invalid label Nov 12, 2010
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants