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

python-config should be linked #169

Closed
swsnr opened this issue Aug 30, 2011 · 13 comments
Closed

python-config should be linked #169

swsnr opened this issue Aug 30, 2011 · 13 comments

Comments

@swsnr
Copy link

swsnr commented Aug 30, 2011

virtualenv should provide pythonX.Y-config of the python interpreter used for the virtual environment as python-config in the virtual environment.

Usage case: Building of extension modules inside virtualenvs. Some extension modules use autotools as build system. Autotools uses python-config to find the extension module. This fails, if the "python" inside the virtualenv is Python 3, but "python-config" coming from the system Python is Python 2.

madprog added a commit to madprog/virtualenv that referenced this issue Dec 27, 2011
@madprog
Copy link

madprog commented Dec 27, 2011

My commit is just a try: i don't create any pythonX.Y-config, only a unique python-config in the bin dir…

@josharian
Copy link

Can't speak to the patch, but definitely +1 on linking python-config.

One example of a case in which this matters is brew install opencv.

@madprog
Copy link

madprog commented Apr 25, 2012

@josharian: I encoutered the issue while installing opencv too.

@hoangelos
Copy link

I encountered this too. Is this going to be make live. I need this!

@wiseman
Copy link

wiseman commented Oct 24, 2012

Any update on this?

@offbyone
Copy link

I just ran into this issue when trying to configure bind10; it's depending on python-config to set up its python dependency. What's the word on merging this in?

@hoodie
Copy link

hoodie commented Jul 9, 2014

I agree, this is a musthave.
It already cost me at least 2h of todays work to find the problem.
Please fix.
Thank you.

@Ivoz Ivoz added this to the 1.12 milestone Jul 9, 2014
@mateodelnorte
Copy link

+1

@bchretien
Copy link

👍 This can be handy to find the proper include directory containing Python.h.

@wookayin
Copy link

+1
This is needed, to deal with annoying troubles on building (native) extensions.

@mentalbrew
Copy link

+1 also. This issue dates to 2011. Any idea if this is going to be addressed?

madprog added a commit to madprog/virtualenv that referenced this issue Aug 16, 2015
madprog added a commit to madprog/virtualenv that referenced this issue Aug 18, 2015
File was missing, as commented Ivoz (Matt Iversen)
References pypa#169
Ivoz pushed a commit to Ivoz/virtualenv that referenced this issue Sep 19, 2015
Ivoz pushed a commit to Ivoz/virtualenv that referenced this issue Sep 19, 2015
File was missing, as commented Ivoz (Matt Iversen)
References pypa#169
willingc pushed a commit to willingc/virtualenv that referenced this issue Oct 10, 2015
willingc pushed a commit to willingc/virtualenv that referenced this issue Oct 10, 2015
File was missing, as commented Ivoz (Matt Iversen)
References pypa#169
@dstufft dstufft removed this from the 1.12 milestone Jan 19, 2016
@stale
Copy link

stale bot commented Jan 15, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Just add a comment if you want to keep it open. Thank you for your contributions.

@StefanD986
Copy link

I posted this on the python-ideas mailinglist as possible feature for the standard library venv module.

@lunaryorn , @madprog @josharian @hoangelos @wiseman @offbyone @mentalbrew @bchretien @hoodie @wookayin and anyone who's stumbling on this issue:
If this is still relevant for you, please give it a thumbs up in the discussion here (You can log in with your github account): https://mail.python.org/archives/list/[email protected]/thread/QTCPOM5YBOKCWWNPDP7Z4QL2K6OWGSHL/

@pypa pypa locked and limited conversation to collaborators Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests