Issue #2 resolved

allow custom distclass

Anonymous created an issue

This patch allows a custom distclass in setup() with cx_Freeze.

Comments (2)

  1. Anonymous
    --- dist.py.orig        2012-05-23 14:21:45.408511176 +0200
    +++ dist.py     2012-05-23 14:22:04.848147407 +0200
    @@ -345,7 +345,7 @@
    
    
     def setup(**attrs):
    -    attrs["distclass"] = Distribution
    +    attrs.setdefault("distclass", Distribution)
         commandClasses = attrs.setdefault("cmdclass", {})
         if sys.platform == "win32":
             if sys.version_info[:2] >= (2, 5):
    
  2. Log in to comment