@@ -1726,17 +1726,12 @@ def add_flags(self, ext):
1726
1726
# includes are directly in the conda\library\include dir and
1727
1727
# libs in DLL or lib
1728
1728
ext .include_dirs .extend (['include' ])
1729
- ext .libraries .extend (['tk85' , 'tcl85' ])
1730
- ext .library_dirs .extend (['dlls' ]) # or lib?
1731
1729
else :
1732
1730
major , minor1 , minor2 , s , tmp = sys .version_info
1733
1731
if sys .version_info [0 :2 ] < (3 , 4 ):
1734
1732
ext .include_dirs .extend (['win32_static/include/tcl85' ])
1735
- ext .libraries .extend (['tk85' , 'tcl85' ])
1736
1733
else :
1737
1734
ext .include_dirs .extend (['win32_static/include/tcl86' ])
1738
- ext .libraries .extend (['tk86t' , 'tcl86t' ])
1739
- ext .library_dirs .extend ([os .path .join (sys .prefix , 'dlls' )])
1740
1735
1741
1736
elif sys .platform == 'darwin' :
1742
1737
# this config section lifted directly from Imaging - thanks to
@@ -1781,10 +1776,7 @@ def add_flags(self, ext):
1781
1776
# not found...
1782
1777
1783
1778
# tk_include_dirs.append('/usr/X11R6/include')
1784
- frameworks = ['-framework' , 'Tcl' , '-framework' , 'Tk' ]
1785
1779
ext .include_dirs .extend (tk_include_dirs )
1786
- ext .extra_link_args .extend (frameworks )
1787
- ext .extra_compile_args .extend (frameworks )
1788
1780
1789
1781
# you're still here? ok we'll try it this way...
1790
1782
else :
@@ -1817,8 +1809,6 @@ def add_flags(self, ext):
1817
1809
(tcl_lib_dir , tcl_inc_dir , tcl_lib ,
1818
1810
tk_lib_dir , tk_inc_dir , tk_lib ) = result
1819
1811
ext .include_dirs .extend ([tcl_inc_dir , tk_inc_dir ])
1820
- ext .library_dirs .extend ([tcl_lib_dir , tk_lib_dir ])
1821
- ext .libraries .extend ([tcl_lib , tk_lib ])
1822
1812
1823
1813
1824
1814
class BackendGtk (OptionalBackendPackage ):
0 commit comments