Commits

Anthony Tuininga committed 87c96b7

Renamed freeze to cxfreeze to avoid conflict with another package that uses
that executable as requested by Siegfried Gevatter.

Comments (0)

Files changed (6)

 15) Modified license text to more closely match the Python Software Foundation
     license as was intended.
 16) Added sample script for freezing an application using matplotlib.
+17) Renamed freeze to cxfreeze to avoid conflict with another package that uses
+    that executable as requested by Siegfried Gevatter.
 
 Changes from 3.0.3 to 4.0b1
  1) Added support for placing modules in library.zip or in a separate zip file

cx_Freeze/__init__.py

-version = "4.0b1"
+version = "4.0"
 
 import sys
 from dist import *

cx_Freeze/main.py

 """
 %%prog %s
 Copyright (c) 2007-2008 Colt Engineering. All rights reserved.
-Copyright (c) 2002-2006 Computronix Corporation. All rights reserved.""" % \
+Copyright (c) 2001-2006 Computronix Corporation. All rights reserved.""" % \
         cx_Freeze.version
 
 
+#!/usr/bin/python
+
+from cx_Freeze import main
+
+main()
+

freeze

-#!/usr/bin/python
-
-from cx_Freeze import main
-
-main()
-
         if sys.platform == "win32":
             for script in self.scripts:
                 batFileName = os.path.join(self.build_dir, script + ".bat")
-                scriptDir = r"%s\Scripts\freeze" % \
-                        os.path.dirname(sys.executable)
+                fullScriptName = r"%s\Scripts\%s" % \
+                        (os.path.dirname(sys.executable), script)
                 command = "%s %s %%1 %%2 %%3 %%4 %%5 %%6 %%7 %%8 %%9" % \
-                        (sys.executable, scriptDir)
+                        (sys.executable, fullScriptName)
                 file(batFileName, "w").write("@echo off\n\n%s" % command)
 
 
 setup(name = "cx_Freeze",
         description = "create standalone executables from Python scripts",
         long_description = "create standalone executables from Python scripts",
-        version = "4.0b1",
+        version = "4.0",
         cmdclass = commandClasses,
         options = dict(bdist_rpm = dict(doc_files = docFiles),
                 install = dict(optimize = 1)),
         maintainer="Anthony Tuininga",
         maintainer_email="anthony.tuininga@gmail.com",
         url = "http://cx-freeze.sourceforge.net",
-        scripts = ["freeze"],
+        scripts = ["cxfreeze"],
         classifiers = classifiers,
         keywords = "freeze",
         license = "Python Software Foundation License")