summaryrefslogtreecommitdiff
path: root/setuptools/command/egg_info.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * Explicitly encode data as UTF-8 before writing to a binary file.Martin v. L?wis2009-09-121-2/+7
| |
| * Apply patch from pjenvey. Closes #3.Hanno Schlichting2009-07-161-0/+1
| |
| * #1 Added compatibility with Subversion 1.6.Tarek Ziad?2009-07-161-2/+2
| |
* | Copy changes from 1aae1efe5733 for setuptools/command/* (except easy_install.pyJason R. Coombs2013-05-031-11/+11
|/
* Fix for http://bugs.python.org/setuptools/issue9 (backport from trunk)PJ Eby2008-08-211-6/+6
|
* Backport egg_info SVN fix from trunkPJ Eby2008-07-241-2/+2
|
* 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)
* Fix distutils.filelist.findall() crashing on broken symlinks. FixPJ Eby2007-07-111-2/+2
| | | | egg_info failures on new, uncommitted SVN directories.
* Should've used distutils.log.warn instead of warnings.warnPJ Eby2006-09-261-2/+2
| | | | (backport from trunk)
* Handle empty revision numbers in SVN 1.4 "entries" formatPJ Eby2006-09-261-1/+1
| | | | (backport from trunk)
* Support svn 1.4 working copy format (backport from trunk)PJ Eby2006-09-171-3/+44
|
* 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)
* Fix doubled --tag-build help display (backport from trunk)PJ Eby2006-07-111-1/+1
|
* 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)
* 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)
* Implement dependency_links feature, courtesy of Tres Seaver's roughPJ Eby2006-03-291-9/+9
| | | | draft of a patch.
* 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).
* Prevent failed attempts at removing MANIFEST.in from masking errors thatPJ Eby2006-02-211-2/+1
| | | | occur while reading it.
* 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).
* 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.
* 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!
* 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.
* Fix .svn exclude pattern for non-Windows platforms.PJ Eby2005-11-181-1/+2
|
* Fixed ``--tag-svn-revision`` not working when run from a sourcePJ Eby2005-11-181-4/+4
| | | | distribution.
* 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.
* 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.
* 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).
* 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.
* 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.
* 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.)
* 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.
* 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.
* 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.
* 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.
* 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.
* 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.
* Implement ``namespace_packages`` keyword to ``setup()``. Added keywordPJ Eby2005-07-101-14/+55
| | | | summary to setuptools doc. Begin work on ``zip_safe`` flag.
* 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.
* Changed --tag-svn-revision to include an "r" in front of the revisionPJ Eby2005-07-091-1/+1
| | | | number for better readability.
* 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.
* 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``).
* 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.