We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91e1e83 commit 6da9767Copy full SHA for 6da9767
setup.py
@@ -18,6 +18,15 @@
18
class PkgConfigExtension(Extension):
19
'''Extension with lazy properties taken from pkg-config'''
20
def __init__(self, *args, **kwargs):
21
+ '''Behaves like Extension's __init__ but you should not use
22
+ include_dirs, library_dirs and libraries arguments.
23
+
24
+ Extra arguments:
25
+ pkg : string
26
+ The name of the pkg-config package to use for querying
27
+ extra_libraris : [string]
28
+ This will be added to the libraries attribute. Optional.
29
+ '''
30
self._pkg = kwargs['pkg']
31
del kwargs['pkg']
32
if 'extra_libraries' in kwargs:
0 commit comments