# HG changeset patch # User Adrian Buehlmann <adr...@cadifra.com> # Date 1251615788 -7200 # Node ID f76bee846c61bf872dfa9bb6f061d0d88ef8a712 # Parent 4a81918ad1c4b1ec7ba929a4746d093b2000ee0b README: add note and section about registering .py files with Windows
diff --git a/README.txt b/README.txt --- a/README.txt +++ b/README.txt @@ -161,6 +161,15 @@ are building by hand, you should use the you switch between stable and unstable targets, or just to get a clean start. +Note that setup.py assumes that .py files are registered with Windows +so that they can execute directly. That is, entering + +setup.py --help + +(without "python") in the Windows command prompt should start the setup +script (see the section "Registering .py files with Windows" for how to +fix this if it doesn't). + == Default Paths == @@ -171,3 +180,15 @@ the subrepos yourself until you create . As a convenience, the setup.py script has a --pull command that pulls the TortoiseHg repository and hg-stable. Any command that builds a nightly or unstable package will also pull the source repositories. + + +== Registering .py files with Windows == + +In Explorer go to Tools->Folder Options...->File Types. Scroll to the +registered file type of PY and then click on the Change... button to +choose the program to associate (e.g. "C:\Python25\python.exe"). +Including ".py" in the PATHEXT environment variable might be needed +in addition, so that the command prompt will attempt to execute .py +files, using the registry associations to find the executable. + +Reference: http://nedbatchelder.com/blog/200810/switching_python_versions_on_windows.html ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Tortoisehg-develop mailing list Tortoisehg-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop