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

Try to switch pkg-config (works on OpenSUSE) #1315

Closed
wants to merge 2 commits into from

Conversation

frknkrc44
Copy link

No description provided.

elif attr_name == "ldflags":
process = "{} --libs-only-L libpq".format(self.pkg_config_exe)
elif attr_name == "cppflags":
process = "{} --cflags libpq".format(self.pkg_config_exe)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am sorry but this is really not something that I wish to accept. Depending on so many external tool is nothing I wish to maintain. The pg_config exists exactly to avoid this.

If you provide a patch so that, calling pg_config --what it looks for an env var PG_CONFIG_WHAT and uses it in preference then we might consider it. Then Suse or whatever else think it's a good idea could create an external wrapper using cut, sed, awk, perl, or whatever bashism to call setup.py.

@dvarrazzo
Copy link
Member

Closing as the proposed approach is not portable nor maintainable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants