Commits

Anthony Tuininga committed d78812e

Allow for custom distribution classes as suggested by issue #2 on bitbucket.

Comments (0)

Files changed (1)

cx_Freeze/dist.py

 
 
 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):