Commit Graph

70 Commits

Author SHA1 Message Date
Guido van Rossum 1e07403bbf Some nits...
Add the script directory to the path.

Fix the sanity checks on the arguments so they don't mess up the -m
option; remove the requirement that the script must have a .py
extension.
1998-03-05 04:05:38 +00:00
Guido van Rossum 75dc4969ab Added support for packages.
We have a whole new module finder that uses the actual Python
parser and scans the bytecode for IMPORT_NAME and IMPORT_FROM.
This requires some support in import.c (that hasn't been checked in).
New command line options for this: -d, -q, -m.
1998-03-05 03:42:00 +00:00
Guido van Rossum f888350dec Untested changes to make the '-s windows' option
work on Windows.
1998-03-04 18:12:39 +00:00
Guido van Rossum 94ce0d1963 Add special handling for Python modules that are imported implicitly
by the Python runtime: 'site' and 'exceptions'.
1997-12-08 05:01:06 +00:00
Guido van Rossum 345df170e6 os2 patch by Jeff Rush 1997-11-22 22:10:01 +00:00
Guido van Rossum 58a594829c Changes for building under windows. 1997-08-14 01:45:33 +00:00
Guido van Rossum 0b4b8a21ce Changed indents to 4 *spaces*; added Emacs variables to avoid
inserting tabs.  All this (and the previous patch) in preparation for
porting to NT.
1997-08-10 16:56:48 +00:00
Guido van Rossum 9a6e855a27 Support using -p/-P to point to the source/build directory instead of
the install directory.  Added -h option to print the full usage
message; by default, only two lines are now printed for errors.
1997-08-10 16:47:17 +00:00
Guido van Rossum b3afce5763 Updated for new style build/install; much simpler! 1997-07-19 21:58:30 +00:00
Guido van Rossum f06ee5fa07 /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
Guido van Rossum 96c4dd95cf OK, now it uses sys.[exec_]prefix and supports
a -o option to specify an output directory.  *Much* more convenient.
Removed a whole lot of hullabaloo from the README file, too.
1996-08-26 05:14:20 +00:00
Guido van Rossum aa233f18b2 Changes for 1.4 install targets 1996-08-26 03:49:49 +00:00
Guido van Rossum d4cc04c672 Add test that script name ends in .py.
Cosmetic changes to usage message (refer to "make install" now).
1996-06-17 17:49:13 +00:00
Guido van Rossum 150316ee2e added getpath.c; added -P exec_prefix; added explanatory note 1995-08-08 14:21:07 +00:00
Guido van Rossum 6d67b607b2 backup Makefile too 1995-04-05 10:58:39 +00:00
Guido van Rossum 309e8ac579 moved Demo/freeze to Tools/freeze 1995-03-02 15:54:21 +00:00
Guido van Rossum d8336c2286 Lots of things added. README written (mostly). 1994-10-05 16:13:01 +00:00
Guido van Rossum 619e1beda9 Add check for unknown modules 1994-10-03 16:37:36 +00:00
Guido van Rossum 00ff4336a9 Totally new "freeze" program. 1994-10-03 16:33:08 +00:00
Guido van Rossum dbaf332107 Jack's last version (now I'm supposed to get it working :-) 1994-10-03 10:25:54 +00:00