Anthony Tuininga avatar 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")
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.