@@ -57,9 +57,12 @@ def lib_in_release():
5757else :
5858 blpapiLibraryName = "blpapi3_32"
5959
60+ extraCompileArgs = []
6061extraLinkArgs = []
6162package_data = {}
62- if platform == "windows" :
63+ if platform == "linux" :
64+ extraCompileArgs = ["-Werror=implicit-function-declaration" ]
65+ elif platform == "windows" :
6366 extraLinkArgs = ["/MANIFEST" ]
6467
6568 # Handle the very frequent case when user need to use Visual C++ 2010
@@ -85,6 +88,7 @@ def lib_in_release():
8588 include_dirs = [blpapiIncludes ],
8689 library_dirs = [blpapiLibraryPath ],
8790 libraries = [blpapiLibraryName ],
91+ extra_compile_args = extraCompileArgs ,
8892 extra_link_args = extraLinkArgs ,
8993)
9094
@@ -94,6 +98,7 @@ def lib_in_release():
9498 include_dirs = [blpapiIncludes ],
9599 library_dirs = [blpapiLibraryPath ],
96100 libraries = [blpapiLibraryName ],
101+ extra_compile_args = extraCompileArgs ,
97102 extra_link_args = extraLinkArgs ,
98103)
99104
@@ -108,7 +113,7 @@ def lib_in_release():
108113 packages = ["blpapi" , "blpapi.test" ],
109114 package_dir = {"" : "src" },
110115 package_data = package_data ,
111- python_requires = ">=3" ,
116+ python_requires = ">=3.7 " ,
112117 classifiers = [
113118 "Development Status :: 5 - Production/Stable" ,
114119 "Intended Audience :: Developers" ,
0 commit comments