summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Basic dependency checking. setup() has two new optional argumentsAnthony Baxter2004-03-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | requires and provides. requires is a sequence of strings, of the form 'packagename-version'. The dependency checking so far merely does an '__import__(packagename)' and checks for packagename.__version__ You can also leave off the version, and any version of the package will be installed. There's a special case for the package 'python' - sys.version_info is used, so requires= ( 'python-2.3', ) just works. Provides is of the same format as requires - but if it's not supplied, a provides is generated by adding the version to each entry in packages, or modules if packages isn't there. Provides is currently only used in the PKG-INFO file. Shortly, PyPI will grow the ability to accept these lines, and register will be updated to send them. There's a new command 'checkdep' command that runs these checks. For this version, only greater-than-or-equal checking is done. We'll add the ability to specify an optional operator later.
* [Bug #69389] List register command in __all__, so setup.py --help-commands ↵Andrew M. Kuchling2003-03-031-0/+1
| | | | will now list it
* Add comment to Distutil files about requiring 1.5.2 compatibility, asAndrew M. Kuchling2002-11-191-0/+2
| | | | suggested by PEP 291.
* Pulling Mark Alexander's contribution from CVS.Marc-André Lemburg2002-10-041-2/+3
|
* Patch #531901 by Mark W. Alexander: adds a new distutils packagerMarc-André Lemburg2002-04-171-0/+5
| | | | | | base class (in bdist_packager) and two subclasses which make use of this base class: bdist_pkgtool (for Solaris) and bdist_sdux (for HP-UX).
* Infrastructure support for the "bdist_wininst" command.Greg Ward2000-06-271-0/+1
|
* Changed order so 'clean' is right after the 'build' commands.Greg Ward2000-05-281-1/+1
|
* Added 'install_headers' command to install C/C++ header files.Greg Ward2000-05-271-0/+1
|
* Bastian Kleineidam: the "build_scripts" command and changesGreg Ward2000-05-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | necessary to support it. Details: - build command additionally calls build_scripts - build_scripts builds your scripts in 'build/scripts' and adjusts the first line if it begins with "#!" and ends with "python", optionally ending with commandline options (like -O, -t ...). Adjusting means we write the current path to the Python interpreter in the first line. - install_scripts copies the scripts to the install_scripts dir - install_data copies your data_files in install_data. You can supply individual directories for your data_files: data_files = ['doc/info.txt', # copy this file in install_scripts dir ('testdata', ['a.dat', 'b.dat']), # copy these files in # install_scripts/testdata ('/etc', ['packagerc']), # copy this in /etc. When --root is # given, copy this in rootdir/etc ] So you can use the --root option with absolute data paths.
* Harry Henry Gebel: add 'bdist_rpm' command.Gregory P. Smith2000-05-131-0/+1
|
* Patch from Bastien Kleineidam:Gregory P. Smith2000-05-121-0/+2
| | | | | | adds the 'install_data' and 'install_scripts' commands; these two are trivial thanks to the 'install_misc' base class in cmd.py. (Minor tweaks and commentary by me; the code is untested so far.)
* Added 'bdist' and 'bdist_dumb'.Greg Ward2000-03-311-0/+2
|
* Added 'build_clib'; replaced 'install_py' and 'install_ext' with 'install_lib'.Greg Ward2000-03-291-2/+2
|
* Simplified doc string.Greg Ward2000-03-181-11/+2
| | | | Added 'clean' to list of commands.
* Changed '__rcsid__' to '__revision__'.Greg Ward2000-03-021-1/+1
|
* Changed 'dist' to 'sdist'.Greg Ward2000-02-181-1/+1
|
* Added 'dist' command.Greg Ward2000-01-301-0/+2
|
* Added docstring, brought __all__ up-to-date.Greg Ward1999-09-211-2/+19
|
* First checkin of real Distutils command modules.Greg Ward1999-03-221-0/+6