summaryrefslogtreecommitdiff
path: root/setuptools
Commit message (Collapse)AuthorAgeFilesLines
* Force list type for easy concatenation.Jason R. Coombs2014-12-231-1/+1
|
* Add comments for clarity.Jason R. Coombs2014-12-231-0/+2
|
* Extract logic for getting the extensions for outputs.Jason R. Coombs2014-12-231-4/+7
|
* Collapse two generator expressions.Jason R. Coombs2014-12-231-2/+2
|
* Use itertools.product to pair each base with each extension.Jason R. Coombs2014-12-231-5/+7
|
* Extract method for clarity.Jason R. Coombs2014-12-231-1/+4
|
* Rewrite function to use extend and a generator expression.Jason R. Coombs2014-12-231-5/+4
|
* ReindentJason R. Coombs2014-12-231-5/+5
|
* Extract filtering of extensions that need stubs.Jason R. Coombs2014-12-231-2/+2
|
* Rewrite short-circuit for/if/else loop as any on generator expression.Jason R. Coombs2014-12-231-4/+1
|
* Extract variable for simplicity of indentation.Jason R. Coombs2014-12-231-3/+2
|
* Extract variables for clarity and simpler indentation.Jason R. Coombs2014-12-231-4/+4
|
* Define if_dl using simple lambda.Jason R. Coombs2014-12-231-4/+1
|
* Use hasattr per recommendation in docs for dl.Jason R. Coombs2014-12-231-4/+2
|
* Bumped to 8.2.2 in preparation for next release.Jason R. Coombs2014-12-181-1/+1
|
* Bumped to 8.2.1 in preparation for next release.8.2.1Jason R. Coombs2014-12-181-1/+1
|
* Silence PEP440Warning by default unless invoking easy_installDonald Stufft2014-12-181-0/+5
|
* Bumped to 8.3 in preparation for next release.Jason R. Coombs2014-12-181-1/+1
|
* Merge with 8.18.2Jason R. Coombs2014-12-184-40/+40
|\
| * Bumped to 8.2 in preparation for next release.Jason R. Coombs2014-12-181-1/+1
| |
| * Bumped to 8.1 in preparation for next release.8.1Jason R. Coombs2014-12-181-1/+1
| |
| * Upgrade packaging to 14.5Donald Stufft2014-12-173-39/+39
| | | | | | | | * Normalizes release candidates to 1.0rc1 instead of 1.0c1
* | Merge with 8.0.4Jason R. Coombs2014-12-151-1/+1
|\ \ | |/
| * Bumped to 8.0.5 in preparation for next release.Jason R. Coombs2014-12-151-1/+1
| |
| * Upgrade packaging to 14.4Donald Stufft2014-12-153-6/+8
| | | | | | | | | | | | This fixes an error where there is a different result for if 2.0.5 is contained within >2.0dev and >2.0.dev even though normalization rules should have made them equal.
* | Upgrade packaging to 14.4Donald Stufft2014-12-153-6/+8
| | | | | | | | | | | | This fixes an error where there is a different result for if 2.0.5 is contained within >2.0dev and >2.0.dev even though normalization rules should have made them equal.
* | Merge with 8.0.3Jason R. Coombs2014-12-151-1/+1
|\ \ | |/
| * Bumped to 8.0.4 in preparation for next release.Jason R. Coombs2014-12-151-1/+1
| |
| * Define a __hash__ on the packaging.version.Version subclassesDonald Stufft2014-12-151-0/+10
| | | | | | | | | | | | | | In Python 3.x a subclass will not inherent the __hash__ method from the parent classes if the subclass defines a __eq__ method. This means that without defining our own __hash__ the SetuptoolsVersion classes are unhashable.
* | Define a __hash__ on the packaging.version.Version subclassesDonald Stufft2014-12-151-0/+10
| | | | | | | | | | | | | | In Python 3.x a subclass will not inherent the __hash__ method from the parent classes if the subclass defines a __eq__ method. This means that without defining our own __hash__ the SetuptoolsVersion classes are unhashable.
* | Merge with 8.0.2Jason R. Coombs2014-12-141-1/+1
|\ \ | |/
| * Bumped to 8.0.3 in preparation for next release.Jason R. Coombs2014-12-141-1/+1
| |
| * Add more compatability shims to SetuptoolsVersionDonald Stufft2014-12-141-0/+21
| | | | | | | | | | | | | | * Enables indexing the SetuptoolsVersion objects, triggering the legacy behavior warning. * Enables comparing the SetuptoolsVersion object to a tuple, again triggering the legacy behavior warning.
* | Add more compatability shims to SetuptoolsVersionDonald Stufft2014-12-141-0/+21
| | | | | | | | | | | | | | * Enables indexing the SetuptoolsVersion objects, triggering the legacy behavior warning. * Enables comparing the SetuptoolsVersion object to a tuple, again triggering the legacy behavior warning.
* | Merge with 8.0.1Jason R. Coombs2014-12-131-1/+1
|\ \ | |/
| * Bumped to 8.0.2 in preparation for next release.Jason R. Coombs2014-12-131-1/+1
| |
| * Bumped to 8.0.1 in preparation for next release.8.0.1Jason R. Coombs2014-12-131-1/+1
| |
| * Restore iterating over Version objects for compat with buildoutDonald Stufft2014-12-131-0/+19
| |
* | Restore iterating over Version objects for compat with buildoutDonald Stufft2014-12-131-0/+19
| |
* | Use os.pathsep. Fixes failure on Windows8.1b1Jason R. Coombs2014-12-131-1/+1
| |
* | 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.
* | tests.egg_info: Test absolute egg-base install"W. Trevor King"2014-10-161-0/+58
|/ | | | | | Make sure this copies the appropriate metadata into EGG-INFO. This test currently fails, but the next commit fixes setuptools so it will pass.
* Bumped to 8.1 in preparation for next release.Jason R. Coombs2014-12-131-1/+1
|
* Fix the use of pacakging.version.SpecifierDonald Stufft2014-11-191-1/+1
|
* Always use the vendored copy of packagingDonald Stufft2014-11-191-6/+3
|