aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/depends.py
Commit message (Collapse)AuthorAgeFilesLines
* Re-introduce _iter_code functionality as a Bytecode backport. Fixes failing ↵Jason R. Coombs2016-12-281-2/+3
| | | | tests. Ref #866.
* Merge proposals. Ref #866.Jason R. Coombs2016-12-281-11/+5
|\
| * Attempt to fix issue #866 by iterating over code with `dis.Bytecode` instead ↵Preston Landers2016-12-281-37/+6
| | | | | | | | | | | | | | | | | | | | | | | | of the internal `_iter_code`. The `dis` module was already used in `_iter_code` so I figured it was safe to use `Bytecode` from it. Not sure how this assumption holds up across all supported Python releases. I can only assume `Bytecode` wasn't there before when `_iter_code` was originally written? Note that `_iter_code` doesn't appear to be called anywhere in light of this change so I removed it. I should also note that `get_module_constant` has never worked with `setuptools.__version__` (returns -1) because it's not a string literal; it gets that attribute from another module. But this change does work in cases where a string literal is requested. https://github.com/pypa/setuptools/issues/866
* | Use dis module rather than manually disassembling the bytecode. Fixes #866.Jason R. Coombs2016-12-281-31/+5
|/
* Fix spacing after comment hash.stepshal2016-10-191-1/+1
|
* Add missing blank lines after class or function definition.stepshal2016-07-211-0/+1
|
* Put colon-separated compound statement on separate lines.stepshal2016-07-211-1/+2
|
* Merge pull request #655 from stepshal/imorts_in_same_blockJason R. Coombs2016-07-201-1/+1
|\ | | | | Put imports in same block alphabeticaly.
| * Put imports in same block alphabeticaly.stepshal2016-07-141-1/+1
| |
* | Fix missing whitespace around operator.stepshal2016-07-141-10/+10
|/
* Add missing whitespace.stepshal2016-07-141-6/+6
|
* Fix quantity of blank lines after code object.stepshal2016-07-131-3/+1
|
* 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
* Use six for Python 2 compatibilityJason R. Coombs2014-07-051-2/+4
| | | | | | --HG-- branch : feature/issue-229 extra : source : 7b1997ececc5772798ce33a0f8e77387cb55a977
* Patch globals in a function. This technique bypasses the linter warnings ↵Jason R. Coombs2014-05-171-5/+16
| | | | about the names not being present, and allows for better documentation.
* Fix NameError (is this code ever used?).Jason R. Coombs2014-05-171-1/+2
| | | | | --HG-- extra : amend_source : 4361459883522692c4d70715135439819d981d7a
* Modernize syntaxJason R. Coombs2014-05-171-59/+16
| | | | | --HG-- extra : amend_source : eeaee0372ea8d1d39475a722234c03f6a0247722
* Changes to support 2.x and 3.x in the same codebase.Vinay Sajip2011-06-201-2/+2
| | | | | | --HG-- branch : distribute extra : rebase_source : 7d3608edee54a43789f0574d702fb839628b5071
* Fix http://bugs.python.org/setuptools/issue31 (backport from trunk)PJ Eby2008-08-211-6/+6
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4065948
* Flesh out 'depends' command to display dependencies' status, and halt ifPJ Eby2004-03-201-17/+17
| | | | | | | | | | | | | | | | | | | | | all requirements aren't met. (Also, check planned install location for the dependencies, as well as checking sys.path.) Also: * Allow 'Feature()' objects to include 'Require()' objects, so that dependencies can be optional * 'Require()' objects can set a homepage, whose URL will be displayed by the 'depends' command if the dependency needs to be installed. * Misc. fixes/refactoring of version validation to properly handle "unknown" versions, and to decouple version fetching from version checking. * Updated TODO to remove various completed items. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040876
* Initial checkin of setuptools 0.0.1.PJ Eby2004-03-191-0/+246
--HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040869