From: <lu...@us...> - 2015-01-05 09:32:52
|
Revision: 659 http://sourceforge.net/p/pyscard/code/659 Author: ludov Date: 2015-01-05 09:32:49 +0000 (Mon, 05 Jan 2015) Log Message: ----------- Add support of cygwin as a build plateform Thanks to Olivier FAURAX for the bug report and testing. Closes bug #19 Unable to compile under cygwin http://sourceforge.net/p/pyscard/bugs/19/ Modified Paths: -------------- trunk/pyscard/src/setup.py Modified: trunk/pyscard/src/setup.py =================================================================== --- trunk/pyscard/src/setup.py 2014-12-13 16:20:55 UTC (rev 658) +++ trunk/pyscard/src/setup.py 2015-01-05 09:32:49 UTC (rev 659) @@ -51,6 +51,15 @@ platform_include_dirs = [] platform_extra_compile_args = [] platform_extra_link_args = [] + +elif 'cygwin-' in get_platform(): + platform__cc_defines = [('WIN32', '100')] + platform_swig_opts = ['-DWIN32'] + platform_sources = [] + platform_libraries = ['winscard'] + platform_include_dirs = [] + platform_extra_compile_args = [] + platform_extra_link_args = [] # # Mac OS X Tiger has python 2.3 preinstalled This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |