CESNET / libnetconf

C NETCONF library
Other
113 stars 83 forks source link

Do not require python3 pkg-config module #195

Closed jktjkt closed 8 years ago

jktjkt commented 8 years ago

We already have Python3's interpreter at this point, and there are some distributions such as Gentoo which ship without the python3.pc file (preferring to instead distribute more finer-grained stuff). Let's make life easier on these platforms by obtaining prefix through invoking Python's native functions.

The sys.path is, ultimately, the place where Python looks for their modules, anyway.

jktjkt commented 8 years ago

Please note that I haven't run autoreconf; my versions of the relevant autotools packages are different from what was used for files shipped in your git, and I didn't want to increase the diff churn.