Renamed bin/hooke -> bin/hk.py.
authorW. Trevor King <wking@drexel.edu>
Sat, 14 Aug 2010 07:50:55 +0000 (03:50 -0400)
committerW. Trevor King <wking@drexel.edu>
Sat, 14 Aug 2010 07:50:55 +0000 (03:50 -0400)
This fixes amantedpaz' crash from
  http://code.google.com/p/hooke/issues/detail?id=40#c17
It turned out to not be related to issue8534, as I'd originally thought.

The crash looked like:
  C:\hooke>c:\python26\python bin/hooke
  ...
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "c:\python26\lib\multiprocessing\forking.py", line 341, in main
      prepare(preparation_data)
    File "c:\python26\lib\multiprocessing\forking.py", line 450, in prepare
      file, path_name, etc = imp.find_module(main_name, dirs)
  ImportError: No module named hooke
  ...

bin/hk.py [moved from bin/hooke with 100% similarity]
doc/install.txt
doc/tutorial.txt

similarity index 100%
rename from bin/hooke
rename to bin/hk.py
index 8be994079cf2cc03611190213cf59aecaa18b024..ae7912b501293d49a269eca31de4c42d4f8933a2 100644 (file)
@@ -74,7 +74,7 @@ it's source directory::
      $ wget -O hooke.zip http://www.physics.drexel.edu/~wking/code/hg/hgwebdir.cgi/hooke/archive/tip.zip
      $ unzip hooke.zip
      $ cd hooke
      $ wget -O hooke.zip http://www.physics.drexel.edu/~wking/code/hg/hgwebdir.cgi/hooke/archive/tip.zip
      $ unzip hooke.zip
      $ cd hooke
-     $ python bin/hooke
+     $ python bin/hk.py
 
 You may need to give the full path for Python on Windows systems, and
 also check that the current working directory (`.`) is in your
 
 You may need to give the full path for Python on Windows systems, and
 also check that the current working directory (`.`) is in your
index 6bfe3e0ce54f45a8e6d34dadd311e9d4cb14e764..4345c91396d056885e2e0248f35203cd711e2148 100644 (file)
@@ -42,7 +42,7 @@ to run the Hooke shell.::
 If you are running hooke from the source directory (see
 :doc:`install`), the equivalent command is::
 
 If you are running hooke from the source directory (see
 :doc:`install`), the equivalent command is::
 
-    $ python bin/hooke
+    $ python bin/hk.py
 
 You may need to give the full path for Python on Windows systems, and
 also check that the current working directory (`.`) is in your
 
 You may need to give the full path for Python on Windows systems, and
 also check that the current working directory (`.`) is in your