[pygobject] setup.py: remove wrong comment about share lib extenions in distutils



commit e36797f6ea971bffe5cd55065e43e233644c3e0a
Author: Christoph Reiter <reiter christoph gmail com>
Date:   Tue Feb 6 18:16:58 2018 +0100

    setup.py: remove wrong comment about share lib extenions in distutils
    
    It just happened to work with MinGW Python3 as that is patched to use
    .dll for Python extenions by default. Forcing a different extension
    here is needed as distutils is targeted at building extensions and
    not shared libs.

 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/setup.py b/setup.py
index e5129e01..0b174303 100755
--- a/setup.py
+++ b/setup.py
@@ -262,8 +262,8 @@ class build_tests(Command):
 
         compiler = new_compiler()
         customize_compiler(compiler)
+
         if os.name == "nt":
-            # XXX: something broken with mingw python2
             compiler.shared_lib_extension = ".dll"
 
         if sys.platform == "darwin":


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]