summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/sdist.py
Commit message (Collapse)AuthorAgeFilesLines
* #18741: fix more typos. Patch by Févry Thibault.Ezio Melotti2013-08-171-1/+1
|
* Warn instead of crashing because of invalid path in MANIFEST.in (#8286).Éric Araujo2011-09-021-1/+4
| | | | | sdist used to crash with a full traceback dump instead of printing a nice warning with the faulty line number.
* Fix regression with distutils MANIFEST handing (#11104, #8688).Éric Araujo2011-07-311-19/+29
| | | | | | | | | | | | | | | | | | | | | | | The changed behavior of sdist in 2.7 broke packaging for projects that wanted to use a manually-maintained MANIFEST file (instead of having a MANIFEST.in template and letting distutils generate the MANIFEST). The fixes that were committed for #8688 (d29399100973 by Tarek and f7639dcdffc3 by me) did not fix all issues exposed in the bug report, and also added one problem: the MANIFEST file format gained comments, but the read_manifest method was not updated to handle (i.e. ignore) them. This changeset should fix everything; the tests have been expanded and I successfully tested with Mercurial, which suffered from this regression. I have grouped the versionchanged directives for these bugs in one place and added micro version numbers to help users know the quirks of the exact version they’re using. I also removed a stanza in the docs that was forgotten in Tarek’s first changeset. Initial report, thorough diagnosis and patch by John Dennis, further work on the patch by Stephen Thorne, and a few edits and additions by me.
* Fix file handle leakÉric Araujo2011-05-011-11/+14
|
* Merged revisions 84711 via svnmerge fromÉric Araujo2010-09-111-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84711 | eric.araujo | 2010-09-11 17:28:56 +0200 (sam., 11 sept. 2010) | 2 lines Fix typo in option name ........
* Merged revisions 83993 via svnmerge fromÉric Araujo2010-08-141-2/+15
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83993 | eric.araujo | 2010-08-14 04:30:34 +0200 (sam., 14 août 2010) | 2 lines Use a marker in generated MANIFEST files, don't touch files without it. Fixes #8688. ........
* upgraded distutils docs w.r.t. the manifest regenerationTarek Ziadé2010-05-171-1/+2
|
* Fixed #8688: Distutils now recalculates MANIFEST everytime.Tarek Ziadé2010-05-171-57/+25
|
* massive import cleaning in DistutilsTarek Ziadé2009-12-211-4/+5
|
* #6516 added owner/group support for tarfiles in DistutilsTarek Ziadé2009-10-021-1/+8
|
* #6041: sdist and register now use the check command. No more duplicate code ↵Tarek Ziadé2009-05-161-32/+24
| | | | for metadata checking
* pep8-fied distutils.command.sdist + more testsTarek Ziadé2009-05-141-43/+16
|
* more test coverage for distutils sdist commandTarek Ziadé2009-05-141-4/+3
|
* fixed the data_files inclusion behaviorTarek Ziadé2009-02-171-1/+1
|
* #2279 added the plain path case for data_filesTarek Ziadé2009-02-171-4/+12
|
* Fixed #2279: distutils.sdist.add_defaults now add files listed in ↵Tarek Ziadé2009-02-161-1/+21
| | | | package_data and data_files
* Fixed #1885: --formats=tar,gztar was not working properly in the sdist commandTarek Ziadé2009-01-251-0/+4
|
* Issue #5052: removed backward compatibility information (out of date)Tarek Ziadé2009-01-251-2/+0
|
* using clearer syntaxTarek Ziadé2009-01-041-2/+7
|
* fixed #1702551: distutils sdist was not pruning VCS directories under win32Tarek Ziadé2009-01-041-1/+7
|
* #1725737: ignore other VC directories other than CVS and SVN's too.Georg Brandl2008-03-061-2/+2
|
* Patch #2167 from calvin: Remove unused importsChristian Heimes2008-02-231-1/+1
|
* Close manifest file.Andrew M. Kuchling2008-02-211-0/+1
| | | | This change doesn't make any difference to CPython, but is a necessary fix for Jython.
* Make dist_files a triple, with the Python target version included,Martin v. Löwis2005-03-231-1/+1
| | | | so that bdist_wininst can specify 'any'.
* Add the upload command. Make all dist commands register theirMartin v. Löwis2005-03-211-0/+1
| | | | outputs with the distribution object.
* Update compatibility comments to 2.1, corresponding to PEP 291 1.13.Martin v. Löwis2004-11-101-1/+1
|
* SF patch 959726: sdist versus SVNTim Peters2004-05-311-2/+2
| | | | The disutils sdist command now ignores .svn directories.
* make sure the default manifest generation includes files identified asFred Drake2004-03-251-0/+4
| | | | | scripts closes SF bug 796042
* Add comment to Distutil files about requiring 1.5.2 compatibility, asAndrew M. Kuchling2002-11-191-0/+2
| | | | suggested by PEP 291.
* Remove 'created by' lines; people can use CVS for this, and the information ↵Andrew M. Kuchling2002-11-141-2/+0
| | | | is often out of date
* Make setup.py less chatty by default.Jeremy Hylton2002-06-041-26/+11
| | | | | | | | | | | | | | | 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.
* Whitespace normalization.Fred Drake2001-12-061-5/+5
|
* Call the write_pkg_info methodAndrew M. Kuchling2001-03-221-2/+2
|
* Untabified.Greg Ward2000-10-141-1/+1
|
* Standardized whitespace around function calls.Greg Ward2000-09-301-48/+48
|
* Renamed '--keep-tree' option to '--keep-temp', for consistencyGreg Ward2000-09-251-6/+6
| | | | with the bdist_* commands.
* Added 'boolean_options' list to support config file parsing.Greg Ward2000-09-251-0/+3
|
* Catch up to recent changes in TextFile (spotted by Bastian Kleineidam).Greg Ward2000-09-181-1/+1
|
* Bullet-proofing of 'make_release_tree()':Greg Ward2000-09-061-6/+14
| | | | | | - 'mkpath()' the distribution dir in case of empty manifest - warn if empty manifest - detect, warn about, and skip non-regular files in manifest
* Reorganized logic in 'get_file_list()' so it's easier to read, and fixed aGreg Ward2000-09-061-7/+8
| | | | | bug to boot: now works even if both MANIFEST and MANIFEST.in don't exist. Don't hardcode setup.py, use 'self.distribution.script_name'.
* Added 'script_name' and 'script_args' instance attributes to Distribution.Greg Ward2000-08-291-1/+4
| | | | | | | | Changed 'core.setup()' so it sets them to reasonable defaults. Tweaked how the "usage" string is generated: 'core' now provides 'gen_usage()', which is used instead of 'USAGE'. Modified "build_py" and "sdist" commands to refer to 'self.distribution.script_name' rather than 'sys.argv[0]'.
* Don't bother to 'mkpath()' the 'dist_dir' -- that's now taken care ofGreg Ward2000-08-221-2/+0
| | | | in archive_util.py.
* Fixed imports from '*util' modules to not just import everything from util.Greg Ward2000-08-051-10/+8
|
* Catch syntax errors from processing template lines and turn them intoGreg Ward2000-07-301-2/+9
| | | | | mere warnings. Call 'findall()' on our FileList object before we start using it seriously.
* Replaced 'self.files' with 'self.filelist': now we carry around a FileListGreg Ward2000-07-301-54/+38
| | | | | instance instead of a list of filenames. Simplifies the "sdist" command only a bit, but should allow greater simplification of FileList.
* The other half of Rene Liebscher's patch to add the Template class,Greg Ward2000-07-301-305/+15
| | | | | which I renamed to FileList: remove all the file-list-generation code from the sdist command and adapt it to use the new FileList class instead.
* Remove unused 'search_dir()' method.Greg Ward2000-07-271-21/+1
| | | | Comment tweak.
* Added the --dist-dir option to control where the archive(s) are put;Greg Ward2000-07-051-1/+11
| | | | defaults to 'dist' (ie. no longer in the distribution root).
* Fixed 'findall()' so it only returns regular files -- no directories.Greg Ward2000-06-291-18/+54
| | | | | | | | | | | | | Changed 'prune_file_list()' so it also prunes out RCS and CVS directories. Added 'is_regex' parameter to 'select_pattern()', 'exclude_pattern()', and 'translate_pattern()', so that you don't have to be constrained by the simple shell-glob-like pattern language, and can escape into full-blown regexes when needed. Currently this is only available in code -- it's not exposed in the manifest template mini-language. Added 'prune' option (controlled by --prune and --no-prune) to determine whether we call 'prune_file_list()' or not -- it's true by default. Fixed 'negative_opt' -- it was misnamed and not being seen by dist.py. Added --no-defaults to the option table, so it's seen by FancyGetopt.
* Changed so all the help-generating functions are defined, at module-level,Greg Ward2000-06-241-18/+17
| | | | | | | in the module of the command classes that have command-specific help options. This lets us keep the principle of lazily importing the ccompiler module, and also gets away from defining non-methods at class level.