aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/egg_info.py
Commit message (Collapse)AuthorAgeFilesLines
* Mark tag_svn_revision as deprecated. Ref #619.Jason R. Coombs2016-06-241-0/+4
|
* Nicer indentationJason R. Coombs2016-06-241-2/+4
|
* Correction for expected dict order when PYTHONHASHSEED=0Jason R. Coombs2016-04-201-1/+1
|
* Use OrderedDict to retain deterministic ordering of version info in egg_info ↵Jason R. Coombs2016-04-201-8/+15
| | | | command. Remove lexicographic ordering in setopt.edit_config. Ref #553
* Always use Python 3 version of mapJason R. Coombs2016-01-161-0/+1
|
* Use the same technique in pkg_resources, relying on an 'extern' module to ↵Jason R. Coombs2015-12-311-1/+1
| | | | | | | resolve the conditional import. --HG-- branch : feature/issue-229
* Modeling after Astropy's technique for bundling libraries, the imports are ↵Jason R. Coombs2015-12-311-6/+1
| | | | | | | now much cleaner. Thanks @embray. Ref #229. --HG-- branch : feature/issue-229
* Update vendoring technique to match that used for packaging. Ref #229.Jason R. Coombs2015-12-311-1/+6
| | | | | --HG-- branch : feature/issue-229
* Merge with master. Ref #229.Jason R. Coombs2015-12-311-23/+24
|\ | | | | | | | | --HG-- branch : feature/issue-229
| * Move imports to topJason R. Coombs2015-12-091-6/+5
| |
| * Reorganize importsJason R. Coombs2015-12-091-5/+6
| |
| * Remove check that would never succeed, because svn_utils always returns an ↵Jason R. Coombs2015-12-091-3/+1
| | | | | | | | integer and get_svn_revision always returns a non-empty string.
| * Deprecate get_pkg_info_revisionJason R. Coombs2015-12-091-0/+2
| |
| * Replace comment with docstringJason R. Coombs2015-12-091-3/+4
| |
| * ReindentJason R. Coombs2015-12-091-5/+5
| |
| * Use io.open for future compatibility and consistencyJason R. Coombs2015-12-091-2/+2
| |
| * Replace deprecated usage with preferred usage. Fixes #364.Jason R. Coombs2015-03-191-1/+2
| |
* | Merge with 10.2.1Jason R. Coombs2015-01-021-3/+47
|\| | | | | | | | | --HG-- branch : feature/issue-229
| * Merge with masterJason R. Coombs2014-12-281-0/+6
| |\
| | * Merge pull request #106 from Richard Ipsum.Jason R. Coombs2014-12-261-0/+6
| | |\
| | | * Make egg_info command write out setup requirementsRichard Ipsum2014-11-031-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit makes the egg_info command write out setup requirements as well as install requirements, setup requirements are written to a setup_requires.txt file. The commit adds a new function write_setup_requirements which uses the existing _write_requirements function to write setup requirements out to a file and adds a new entry point to the egg_info.writers group.
| * | | Removed svn support from setuptools. Ref #313.Jason R. Coombs2014-12-241-1/+7
| |/ /
| * | Setuptools now uses the 'packaging' package from pkg_resources, unifying the ↵Jason R. Coombs2014-12-241-7/+1
| | | | | | | | | | | | behavior around resolution of that package.
| * | Move vendored packaging module into pkg_resources._vendor, restoring ↵Jason R. Coombs2014-12-241-2/+2
| | | | | | | | | | | | independence of pkg_resources from setuptools. Fixes #311.
| * | Move invocation bypass into function itself, pertinent to the docstring.Jason R. Coombs2014-12-131-2/+5
| | |
| * | Extract variables to capture substeps.Jason R. Coombs2014-12-131-3/+3
| | |
| * | Remove superfluous list construction.Jason R. Coombs2014-12-131-2/+2
| | |
| * | Edit docstring for imperative formJason R. Coombs2014-12-131-5/+6
| | |
| * | egg_info: Split manifest_maker._add_egg_info into its own methodW. Trevor King2014-10-161-3/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Sat, Oct 11, 2014 at 04:23:37PM -0000, Jason R. Coombs wrote [1]: > I suggest implementing the functionality as a separate method with a > docstring explaining the purpose. so that's what we have here. The docstring is adapted from the cbd4f603 (egg_info: Search egg-base for files to add to the manifest, 2014-10-16) commit message. It's a lot of docs for a single command (although there is a newsted list comprehension), so I'm fine if you drop this commit before merging. The motivation behind the lines would still be available in the version control history: $ hg blame -c setuptools/command/egg_info.py | grep -A1 ei_cmd.egg_base cbd4f6038604: if ei_cmd.egg_base != os.curdir: cbd4f6038604: self.filelist.allfiles.extend([ cbd4f6038604: os.path.join(ei_cmd.egg_base, path) cbd4f6038604: for path in distutils.filelist.findall(ei_cmd.egg_base)]) 80108b046cb6: self.filelist.include_pattern("*", prefix=ei_cmd.egg_info) $ hg log -vr cbd4f6038604 changeset: 3163:cbd4f6038604 ... description: egg_info: Search egg-base for files to add to the manifest Before this commit, this: $ mkdir -p /tmp/xyz/{home,lib,scripts,data,egg} $ cat >/tmp/xyz/home/.pydistutils.cfg <<EOF ... [1]: https://bitbucket.org/pypa/setuptools/pull-request/85/egg_info-search-egg-base-for-files-to-add/diff#comment-3418032
| * | egg_info: Search egg-base for files to add to the manifest"W. Trevor King"2014-10-161-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this commit, this: $ mkdir -p /tmp/xyz/{home,lib,scripts,data,egg} $ cat >/tmp/xyz/home/.pydistutils.cfg <<EOF > [egg_info] > egg-base = /tmp/xyz/egg > EOF $ export PYTHONPATH=/tmp/xyz/lib $ export HOME=/tmp/xyz/home $ setup.py install --home=/tmp/xyz/home --install-lib=/tmp/xyz/lib \ > --install-scripts=/tmp/xyz/scripts --install-data=/tmp/xyz/data drops a lot of metadata, installing only SOURCES.txt and zip-safe under EGG-INFO. The problem is that the metadata files are written to egg-base, but egg-base is not searched when creating the manifest because it's outside of the current directory. Work around this by explicitly searching egg-base with distutils.filelist.findall (which is really the version monkeypatched in by setuptools/__init__.py). Since findall records relative paths, prefix the returned paths with egg-base, so the include_pattern looking for the absolute ei_cmd.egg_info will match them.
| * | Prefer packaging library if available.Jason R. Coombs2014-09-271-2/+9
| | |
| * | Fix indentJason R. Coombs2014-09-271-2/+1
| | |
| * | Merge github pull request #13 (dstufft/setuptools:use-packaging).Jason R. Coombs2014-09-271-1/+7
| |\ \ | | |/ | |/|
| | * Implement PEP 440 by using the packaging libraryDonald Stufft2014-09-251-1/+7
| | |
| | * Backed out changeset: be37eff86c76Jason R. Coombs2014-08-211-1/+1
| | | | | | | | | | | | Syntax was invalid.
* | | Merge with 6.0.2Jason R. Coombs2014-09-291-1/+1
|\| | | | | | | | | | | | | | --HG-- branch : feature/issue-229
| * | [Fix/Typo] Fix missing parenthesis in egg_info.pyHugues Lerebours2014-08-181-1/+1
| |/ | | | | | | Syntax error introduced in be37eff86c761a399c1ec98b0e5eeed9a90c9cd7
| * make order of lines in top_level.txt deterministicBenedikt Morbach2014-08-071-1/+1
| | | | | | | | like it was done for requirements and entry_points
* | Use six for Python 2 compatibilityJason R. Coombs2014-07-051-5/+6
|/ | | | | | --HG-- branch : feature/issue-229 extra : source : 7b1997ececc5772798ce33a0f8e77387cb55a977
* Resave with excess whitespace removedJason R. Coombs2014-07-021-1/+1
|
* Merge pull-request #575.3Jason R. Coombs2014-06-281-5/+5
|\ | | | | | | | | --HG-- extra : amend_source : 9576c3d20e8d3bcb3b951cd2f588e782f885ebe6
| * Prune paths file list starting with (RCS|CVS|.svn) as well as path withPhilip Thiem2014-04-231-1/+2
| | | | | | | | | | | | | | | | such sub directories. --HG-- branch : develop extra : rebase_source : 2b3326fe668e880b351b0d5f388472239d915d58
| * Applied Patch from cazabon to handle svn tag revisionsPhilip Thiem2014-04-161-3/+4
| | | | | | | | | | | | --HG-- branch : develop extra : rebase_source : 571dac8142fc43b54bcd0302598766b0bb9e13ff
* | Fixed PEP 8 compliancy of the setuptools.command packageAlex Grönholm2014-06-181-43/+57
| |
* | Use compat's StringIO. Should fix bitbucket #213Matthew Iversen2014-06-021-3/+2
|/ | | | | | | https://bitbucket.org/pypa/setuptools/issue/213/regression-setuptools-37-installation --HG-- extra : source : 182f68beacf5e436609fb7d1064a18279cbbd24a
* Restore Python 2 compatibility.Jason R. Coombs2014-05-171-1/+1
|
* Use StringIO to write out requirements. Use more common convention of adding ↵Jason R. Coombs2014-05-171-4/+12
| | | | newline to each line of the file, not just intervening lines.
* Write requirements in a deterministic order.Jason R. Coombs2014-05-171-1/+2
|
* Extract variableJason R. Coombs2014-05-171-1/+2
|
* Use PY3 and PY2 throughoutJason R. Coombs2014-05-171-1/+1
|