Éric Araujo
c465b2f843
More fixes for PEP 3147 compliance in distutils ( #11254 )
2011-11-03 03:45:33 +01:00
Senthil Kumaran
7c9719cf74
Fix closes Issue11439 Remove the SVN keywords from the code as it is no longer applicable in hg. Patch Contributed by Neil Muller.
2011-07-28 22:32:49 +08:00
Tarek Ziadé
04fe7c01a8
Merged revisions 75669-75671 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75669 | tarek.ziade | 2009-10-24 17:10:37 +0200 (Sat, 24 Oct 2009) | 1 line
Issue #7071 : byte-compilation in Distutils now looks at sys.dont_write_bytecode
........
r75670 | tarek.ziade | 2009-10-24 17:19:03 +0200 (Sat, 24 Oct 2009) | 1 line
fixed finally state in distutils.test_util
........
r75671 | tarek.ziade | 2009-10-24 17:51:30 +0200 (Sat, 24 Oct 2009) | 1 line
fixed warning and error message
........
2009-10-25 23:08:47 +00:00
Tarek Ziadé
da31a3f0c2
Merged revisions 72577 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72577 | tarek.ziade | 2009-05-12 09:01:29 +0200 (Tue, 12 May 2009) | 1 line
removing the assert statement so the code works when Python is run with -O
........
2009-05-12 07:06:42 +00:00
Tarek Ziadé
c27aca7d3c
Merged revisions 72535 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72535 | tarek.ziade | 2009-05-10 13:42:46 +0200 (Sun, 10 May 2009) | 1 line
Added tests form install_lib and pep8-fied the module
........
2009-05-10 11:45:41 +00:00
Benjamin Peterson
1010bf3e26
Merged revisions 68840,68881,68943,68945 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68840 | andrew.kuchling | 2009-01-20 20:15:43 -0600 (Tue, 20 Jan 2009) | 1 line
Add some items
........
r68881 | andrew.kuchling | 2009-01-23 21:28:18 -0600 (Fri, 23 Jan 2009) | 1 line
Add various items
........
r68943 | tarek.ziade | 2009-01-25 16:09:10 -0600 (Sun, 25 Jan 2009) | 1 line
Issue #5052 : removed backward compatibility information (out of date)
........
r68945 | tarek.ziade | 2009-01-25 16:11:04 -0600 (Sun, 25 Jan 2009) | 1 line
added missing module docstring
........
2009-01-30 04:00:29 +00:00
Collin Winter
5b7e9d76f3
General cleanup, raise normalization in Lib/distutils.
2007-08-30 03:52:21 +00:00
Skip Montanaro
7a98be2efb
Remove RISCOS support
2007-08-16 14:35:24 +00:00
Neal Norwitz
9d72bb452b
Remove functions in string module that are also string methods. Also remove:
...
* all calls to functions in the string module (except maketrans)
* everything from stropmodule except for maketrans() which is still used
2007-04-17 08:48:32 +00:00
Marc-André Lemburg
58d89dba7d
Restore Python 2.1 compatibility (os.extsep was introduced in Python 2.2).
2004-12-02 20:14:16 +00:00
Martin v. Löwis
5a6601cfc6
Update compatibility comments to 2.1, corresponding to PEP 291 1.13.
2004-11-10 22:23:15 +00:00
Fred Drake
25d88926b9
Since build_py handles package data installation, the list of outputs
...
can contain more than just .py files. Make sure we only report
bytecode files for the .py files.
2004-07-28 14:55:10 +00:00
Andrew M. Kuchling
d448f66317
Add comment to Distutil files about requiring 1.5.2 compatibility, as
...
suggested by PEP 291.
2002-11-19 13:12:28 +00:00
Andrew M. Kuchling
a6483d2e9a
Remove 'created by' lines; people can use CVS for this, and the information is often out of date
2002-11-14 02:25:42 +00:00
Jeremy Hylton
cd8a1148e1
Make setup.py less chatty by default.
...
This is a conservative version of SF patch 504889. It uses the log
module instead of calling print in various places, and it ignores the
verbose argument passed to many functions and set as an attribute on
some objects. Instead, it uses the verbosity set on the logger via
the command line.
The log module is now preferred over announce() and warn() methods
that exist only for backwards compatibility.
XXX This checkin changes a lot of modules that have no test suite and
aren't exercised by the Python build process. It will need
substantial testing.
2002-06-04 20:14:43 +00:00
Andrew M. Kuchling
8c20916de2
Remove unneeded import
2002-05-30 19:15:16 +00:00
Fred Drake
21d45356b8
Whitespace normalization.
2001-12-06 21:01:19 +00:00
Greg Ward
25a309c0a9
Remove some debugging prints.
2000-10-03 03:32:37 +00:00
Greg Ward
0295181fa6
Typo fix.
2000-10-02 02:25:51 +00:00
Greg Ward
cb9c9aed01
Finished the overhaul of byte-compilation options: there's now a 6-way
...
choice between (compile, no-compile) * (optimize=0, optimize=1,
optimize=2). Details:
- added --no-compile option to complement --compile, which has
been there for ages
- changed --optimize (which never worked) to a value option, which
expects 0, 1, or 2
- renamed 'bytecompile()' method to 'byte_compile()', and beefed
it up to handle both 'compile' and 'optimize' options
- fix '_bytecode_filenames()' to respect the new options
2000-10-02 02:15:08 +00:00
Greg Ward
c1acc69018
From 'run()', only call 'bytecompile()' if we actually have
...
pure Python modules to compile.
2000-10-01 23:50:13 +00:00
Greg Ward
1df6e7b1fc
Reduced the 'bytecompile()' method to a one-line wrapper around
...
'util.byte_compile()'. Currently just reproduces the existing functionality
-- doesn't use any of the fancy features in the new 'byte_compile()'.
2000-09-30 20:39:09 +00:00
Greg Ward
3e6d43801b
Fixed 'run()' so it doesn't call 'bytecompile()' if 'install()' returned None.
2000-09-30 17:35:26 +00:00
Greg Ward
99b032eaf2
Added 'boolean_options' list to support config file parsing.
2000-09-25 01:41:15 +00:00
Greg Ward
f84fb660cb
Split 'run()' up into 'build()', 'install()', and 'bytecompile()' (for
...
easier extensibility).
2000-09-23 01:20:19 +00:00