summaryrefslogtreecommitdiff
path: root/setuptools/command/egg_info.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed a missing files problem when using Windows source distributions onPJ Eby2007-09-261-11/+11
| | | | | | | | | non-Windows platforms, due to distutils not handling manifest file line endings correctly. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4058259
* Fix distutils.filelist.findall() crashing on broken symlinks. FixPJ Eby2007-07-111-2/+2
| | | | | | | | egg_info failures on new, uncommitted SVN directories. --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4056277
* Should've used distutils.log.warn instead of warnings.warnPJ Eby2006-09-261-2/+2
| | | | | | | | (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4052009
* Handle empty revision numbers in SVN 1.4 "entries" formatPJ Eby2006-09-261-1/+1
| | | | | | | | (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4052007
* Support svn 1.4 working copy format (backport from trunk)PJ Eby2006-09-171-3/+44
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051900
* Source distributions now always include a ``setup.cfg`` file that explicitlyPJ Eby2006-07-181-17/+17
| | | | | | | | | | | | | | sets ``egg_info`` options such that they produce an identical version number to the source distribution's version number. (Previously, the default version number could be different due to the use of ``--tag-date``, or if the version was overridden on the command line that built the source distribution.) (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050703
* Fix doubled --tag-build help display (backport from trunk)PJ Eby2006-07-111-1/+1
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050593
* Fixed redundant warnings about missing ``README`` file(s); it should nowPJ Eby2006-07-101-3/+3
| | | | | | | | | appear only if you are actually a source distribution. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050544
* Added ``--no-date`` and ``--no-svn-revision`` options to ``egg_info``PJ Eby2006-07-101-2/+43
| | | | | | | | | command, to allow suppressing tags configured in ``setup.cfg``. (backports from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050539
* Implement dependency_links feature, courtesy of Tres Seaver's roughPJ Eby2006-03-291-9/+9
| | | | | | | | draft of a patch. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4043423
* Ensure SOURCES.txt references itself even the first time it is generatedPJ Eby2006-03-241-2/+2
| | | | | | | | (i.e., when it didn't exist prior to egg_info being run). --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4043295
* Prevent failed attempts at removing MANIFEST.in from masking errors thatPJ Eby2006-02-211-2/+1
| | | | | | | | occur while reading it. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042548
* EasyInstall can now download bare ``.py`` files and wrap them in an egg,PJ Eby2006-01-101-2/+2
| | | | | | | | | | | | as long as you include an ``#egg=name-version`` suffix on the URL, or if the ``.py`` file is listed as the "Download URL" on the project's PyPI page. This allows third parties to "package" trivial Python modules just by linking to them (e.g. from within their own PyPI page or download links page). --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041995
* Allow most commands to work with an existing .egg-info directory w/a '-'PJ Eby2005-12-301-17/+18
| | | | | | | | | | in it, but warn about it and refuse to run "develop" until the existing directory is renamed. This should allow older source distributions and checkouts to keep working with 0.6a9. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041857
* Fix unescaped '-' in .egg-info directory names. Note that this meansPJ Eby2005-12-301-1/+1
| | | | | | | | | you must rename any existing .egg-info directory inside a project that has a '-' in it! --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041856
* Basic roundtripping support between bdist_wininst and eggs. EasyInstallPJ Eby2005-12-141-4/+3
| | | | | | | | | | | will now recognize when a bdist_wininst .exe wraps a .egg-info style package, and reconstitute it correctly, maintaining the original zip safety flag, if applicable. This still needs support for entrypoint scripts, though, as does the install_scripts command. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041678
* Fix .svn exclude pattern for non-Windows platforms.PJ Eby2005-11-181-1/+2
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041475
* Fixed ``--tag-svn-revision`` not working when run from a sourcePJ Eby2005-11-181-4/+4
| | | | | | | | distribution. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041474
* The ``sdist`` command no longer uses the traditional ``MANIFEST`` file toPJ Eby2005-11-181-2/+2
| | | | | | | | | | | create source distributions. ``MANIFEST.in`` is still read and processed, as are the standard defaults and pruning. But the manifest is built inside the project's ``.egg-info`` directory as ``SOURCES.txt``, and it is rebuilt every time the ``egg_info`` command is run. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041472
* Build a SOURCES.txt manifest file in .egg-info, that can then be included inPJ Eby2005-11-181-10/+133
| | | | | | | | | | | | sdist distributions to support building an sdist from an sdist (which the bdist_rpm command requires). This will also be the basis for enhanced package data support, that will allow optionally using the manifest to identify package data files instead of having separate manual identification of the data files. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041471
* Fixed some problems with fresh checkouts of projects that don't includePJ Eby2005-11-051-11/+11
| | | | | | | | | | | | | | | | ``.egg-info/PKG-INFO`` under revision control and put the project's source code directly in the project directory. If such a package had any requirements that get processed before the ``egg_info`` command can be run, the setup scripts would fail with a "Missing 'Version:' header and/or PKG-INFO file" error, because the egg runtime interpreted the unbuilt metadata in a directory on ``sys.path`` (i.e. the current directory) as being a corrupted egg. Setuptools now monkeypatches the distribution metadata cache to pretend that the egg has valid version information, until it has a chance to make it actually be so (via the ``egg_info`` command). --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041401
* Made ``egg_info --tag-svn-revision`` fall back to extracting thePJ Eby2005-11-041-12/+12
| | | | | | | | | | | | | revision number from ``PKG-INFO`` in case it is being run on a source distribution of a snapshot taken from a Subversion-based project. That is, if a project builds an sdist with --tag-svn-revision in setup.cfg, then the built sdist will create binaries with the same version number as the checkout that was used to create the sdist. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041396
* Fix problem w/bdist_rpm and setuptools, reported by Walter Doerwald. IPJ Eby2005-08-211-6/+6
| | | | | | | | | | | | | | | was trying to have setuptools fix distutils' broken filename handling that assumes people haven't put punctuation in their distribution names, including '-' (which prevents unambiguous parsing of distribution names). However, bdist_rpm's attempt to guess a source distribution's filename isn't compatible with this fix, without making other changes. I decided therefore to drop the fixes for the sake of backward compatibility, but monkeypatch bdist_rpm so that it runs "egg_info" first, to ensure that any --tag-svn-revision or other tagging options take effect. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041215
* Parse .svn/entries directly instead of using 'svn info' to obtain aPJ Eby2005-08-211-21/+21
| | | | | | | | | revision number. (Christopher Lenz reported that svn info's output is different in non-English locales.) --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041212
* Added docs for main EntryPoint APIs, and cleaned up the API itself a bit.PJ Eby2005-08-131-1/+1
| | | | | | | | Also fixed a few bugs. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041192
* Allow distutils extensions to define new kinds of metadata that can bePJ Eby2005-08-061-86/+127
| | | | | | | | | | written to EGG-INFO. Extensible applications and frameworks can thus make it possible for plugin projects to supply setup() metadata that can then be used by the application or framework. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041183
* Enhanced setuptools infrastructure to support distutils extensions thatPJ Eby2005-08-061-7/+7
| | | | | | | | | | can be plugged in at setup() time to define new setup() arguments or distutils commands. This allows modularization and reuse of distutils extensions in a way that was previously not possible. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041180
* Implement "entry points" for dynamic discovery of drivers and plugins.PJ Eby2005-07-241-19/+19
| | | | | | | | | | Change setuptools to discover setup commands using an entry point group called "distutils.commands". Thanks to Ian Bicking for the suggestion that led to designing this super-cool feature. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041152
* Fix eager resource extraction. Add eager_resources setup() argument. AddPJ Eby2005-07-241-10/+10
| | | | | | | | | support for obtaining project-level resources by making get_provider() accept Requirement objects. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041151
* Fix only detecting the revision number of the setup directory, not thePJ Eby2005-07-161-7/+7
| | | | | | | | highest revision number for the project as a whole. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041129
* Implement ``namespace_packages`` keyword to ``setup()``. Added keywordPJ Eby2005-07-101-14/+55
| | | | | | | | summary to setuptools doc. Begin work on ``zip_safe`` flag. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041113
* Detect and handle conflicts with "unmanaged" packages when installingPJ Eby2005-07-101-19/+19
| | | | | | | | | packages managed by EasyInstall. Also, add an option to exclude source files from .egg distributions. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041109
* Changed --tag-svn-revision to include an "r" in front of the revisionPJ Eby2005-07-091-1/+1
| | | | | | | | number for better readability. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041106
* The "egg_info" command now always sets the distribution metadata to "safe"PJ Eby2005-07-081-9/+9
| | | | | | | | | | | | forms of the distribution name and version, so that distribution files will be generated with parseable names (i.e., ones that don't include '-' in the name or version). Also, this means that if you use the various ``--tag`` options of "egg_info", any distributions generated will use the tags in the version, not just egg distributions. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041092
* Slightly changed the format of the generated version when you usePJ Eby2005-07-071-1/+1
| | | | | | | | | | ``--tag-build`` on the "egg_info" command, so that you can make tagged revisions compare *lower* than the version specified in setup.py (e.g. by using ``--tag-build=dev``). --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041086
* Added ``egg_info`` command to ``setuptools``-based packages. This commandPJ Eby2005-07-061-0/+164
just creates or updates the "projectname.egg-info" directory, without building an egg. It's used by the ``bdist_egg`` command now, and will be used by the ``test`` and ``develop`` commands later on. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041077