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

Distutils add ability to skip build [Feature Request] #46140

Closed
eloff mannequin opened this issue Jan 12, 2008 · 4 comments
Closed

Distutils add ability to skip build [Feature Request] #46140

eloff mannequin opened this issue Jan 12, 2008 · 4 comments
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@eloff
Copy link
Mannequin

eloff mannequin commented Jan 12, 2008

BPO 1815
Nosy @tiran, @tarekziade, @akitada

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 = None
closed_at = <Date 2009-02-02.16:54:11.706>
created_at = <Date 2008-01-12.20:14:27.004>
labels = ['type-feature', 'library']
title = 'Distutils add ability to skip build [Feature Request]'
updated_at = <Date 2009-02-02.16:54:11.705>
user = 'https://bugs.python.org/Eloff'

bugs.python.org fields:

activity = <Date 2009-02-02.16:54:11.705>
actor = 'tarek'
assignee = 'none'
closed = True
closed_date = <Date 2009-02-02.16:54:11.706>
closer = 'tarek'
components = ['Distutils']
creation = <Date 2008-01-12.20:14:27.004>
creator = 'Eloff'
dependencies = []
files = []
hgrepos = []
issue_num = 1815
keywords = []
message_count = 4.0
messages = ['59836', '59837', '80951', '80952']
nosy_count = 4.0
nosy_names = ['christian.heimes', 'Eloff', 'tarek', 'akitada']
pr_nums = []
priority = 'low'
resolution = 'rejected'
stage = None
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue1815'
versions = ['Python 3.0']

@eloff
Copy link
Mannequin Author

eloff mannequin commented Jan 12, 2008

There seems to be no way to skip the build step when running "setup.py
install" The behavior in such a case should be to skip build and use the
existing binaries as created in a separate build step or else print an
error. That way you can do "setup.py build" followed by "setup.py
install --skip-build" and you only have one build taking place.

The purpose of this would be to allow build to take place on a separate
computer to install. Currently I do this on Vista because MSVC 2003 is
not recommended or supported, and distutils won't use the installed MSVC
2005. So I do the build on a (virtual) XP machine and then install by
hand for lack of this option. I think Vista is a strong enough use case
to justify adding this feature.

@eloff eloff mannequin added the stdlib Python modules in the Lib dir label Jan 12, 2008
@tiran
Copy link
Member

tiran commented Jan 12, 2008

Python 2.5's distutils has a --skip-build option for the install
command. In which way doesn't it solve your use case?

For Windows I recommend MinGW32 as compiler. It's sufficient for most users.

@tiran tiran added the type-feature A feature request or enhancement label Jan 12, 2008
@akitada
Copy link
Mannequin

akitada mannequin commented Feb 2, 2009

Python 3.0 has --skip-build, too.
Can we close this ticket?

@tarekziade
Copy link
Mannequin

tarekziade mannequin commented Feb 2, 2009

right, nothing to fix here, the feature is available

@tarekziade tarekziade mannequin closed this as completed Feb 2, 2009
@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
stdlib Python modules in the Lib dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant