aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/sandbox.py
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Merge pull request #933 from pypa/feature/581-depend-not-bundle"Jason R. Coombs2017-02-241-2/+2
| | | | | This reverts commit 089cdeb489a0fa94d11b7307b54210ef9aa40511, reversing changes made to aaec654d804cb78dbb6391afff721a63f26a71cd.
* Strip out vendored packages and require them instead. Ref #581.Jason R. Coombs2017-01-011-2/+2
|
* In sandbox.run_setup, always ensure that __file__ is str. Fixes #712.issue-704Jason R. Coombs2016-12-181-1/+8
|
* Drop exception support for packages triggering win32com cache generation ↵Jason R. Coombs2016-11-181-8/+0
| | | | during build/install. Fixes #841
* Fix quantity of blank lines.stepshal2016-10-191-0/+1
|
* Fix quantity of blank lines.stepshal2016-10-181-0/+6
|
* Fix continuation line unaligned for hanging indent.stepshal2016-07-221-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-4/+8
|
* Fix missing whitespace around operator.stepshal2016-07-141-3/+3
|
* Add missing whitespace.stepshal2016-07-141-34/+34
|
* Fix quantity of blank lines after code object.stepshal2016-07-131-25/+9
|
* Also hide Cython when hiding setuptools, as setuptools will have imported ↵19.6b1Jason R. Coombs2016-01-241-1/+5
| | | | Cython and Cython references the distutils.Extension. Fixes #488.
* Always use Python 3 version of mapJason R. Coombs2016-01-161-1/+1
|
* Modeling after Astropy's technique for bundling libraries, the imports are ↵Jason R. Coombs2015-12-311-8/+2
| | | | | | | 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-2/+8
| | | | | --HG-- branch : feature/issue-229
* Merge with master. Ref #229.Jason R. Coombs2015-12-311-33/+71
|\ | | | | | | | | --HG-- branch : feature/issue-229
| * Always import for SandboxViolation so it's pickleable. Ref #440.Jason R. Coombs2015-12-131-0/+1
| |
| * Prevent infinite recursion when UnpickleableException occurs in a sandbox ↵Jason R. Coombs2015-12-131-2/+4
| | | | | | | | context. Fixes #440.
| * Check for Jython using sys.platform, not os.nameAlex Grönholm2015-04-211-1/+1
| |
| * Fix setuptools.sandbox._execfile() with Python 3.1.Arfrever Frehtes Taifersar Arahesis2015-03-301-4/+4
| | | | | | | | It fixes failure of setuptools.tests.test_sandbox.TestSandbox.test_setup_py_with_CRLF() with Python 3.1.
| * Re-use context available in sandbox.Jason R. Coombs2015-02-031-1/+3
| |
| * Wrap unpickleable exceptions in another class. Fixes #329.Jason R. Coombs2015-01-141-5/+19
| |
| * Make attributes private and remove redundant naming.Jason R. Coombs2015-01-141-7/+7
| |
| * Extract Exception saving behavior.Jason R. Coombs2015-01-141-25/+45
| |
| * Use except/as, now supported by Python 2.6Jason R. Coombs2015-01-041-2/+1
| |
* | Merge with 10.2.1Jason R. Coombs2015-01-021-26/+144
|\| | | | | | | | | --HG-- branch : feature/issue-229
| * Ensure setuptools is present in the environment before invoking setup.py ↵Jason R. Coombs2014-12-301-0/+2
| | | | | | | | from easy_install. Fixes #319.
| * Catch, save, and restore any exceptions across the save_modules context. ↵Jason R. Coombs2014-12-291-11/+32
| | | | | | | | This corrects the latter of the two test failures. Ref #315.
| * Backed out changeset: 40cc1fbecb1cJason R. Coombs2014-12-291-3/+1
| | | | | | | | Restores purging of distutils/setuptools during sandbox operations. Ref #315.
| * Disable purging of distutils/setuptools during sandbox operations. Ref #315.Jason R. Coombs2014-12-281-1/+3
| |
| * Rename function to match intention.Jason R. Coombs2014-12-281-7/+7
| |
| * Correct docstringJason R. Coombs2014-12-281-5/+5
| |
| * Include distutils in modules hiddenJason R. Coombs2014-12-281-1/+3
| |
| * Extract function for _clear_modules, encapsulating the need for the module ↵Jason R. Coombs2014-12-281-5/+10
| | | | | | | | names to be greedily evaluated before removing them.
| * Remove setuptools modules from sys.modules before invoking setup script. ↵Jason R. Coombs2014-12-281-0/+27
| | | | | | | | Fixes #315.
| * Extract sandboxing context as a series of encapsulated contexts.Jason R. Coombs2014-12-271-26/+87
| |
* | Merge with 6.0.2Jason R. Coombs2014-09-291-1/+6
|\| | | | | | | | | --HG-- branch : feature/issue-229
| * Correct execfile implementation for Python 2.6. Fixes #236.Jason R. Coombs2014-08-011-0/+4
| |
| * Extract variableJason R. Coombs2014-08-011-1/+2
| |
* | Use six for Python 2 compatibilityJason R. Coombs2014-07-051-2/+2
|/ | | | | | --HG-- branch : feature/issue-229 extra : source : 7b1997ececc5772798ce33a0f8e77387cb55a977
* Since Python 3 will always need the _execfile functionality (to fulfill the ↵Jason R. Coombs2014-07-051-7/+16
| | | | test in test_sandbox), this functionality should become part of the core implementation.
* Use modern syntax for octal valuesJason R. Coombs2014-05-051-1/+1
|
* Exempt lib2to3 pickled grammars from the DirectorySandboxing. Fixes #121.2.0Jason R. Coombs2013-12-071-2/+5
| | | | | --HG-- extra : histedit_source : 6cd9a3c6003d3f6de2f8e676b61589db4dffafb0
* Add support for exempting a path based on a regular expression.Jason R. Coombs2013-12-071-2/+12
| | | | | --HG-- extra : histedit_source : 2f1f4146ec1d5196cb65602302185a12060cfa17
* Use any on a generator insteadJason R. Coombs2013-12-071-2/+2
| | | | | --HG-- extra : histedit_source : 7924e09d06d2f6db58371735314caeee77aa2d3d
* Use any for matching exceptions in DirectorySandbox.Jason R. Coombs2013-12-071-2/+5
| | | | | --HG-- extra : histedit_source : 9a99f28235a96543a3ca2da4ec691da0e1cd880c
* Always return a boolean in DirectorySandbox._okJason R. Coombs2013-12-071-4/+9
| | | | | --HG-- extra : histedit_source : b0072af02db4ba170105a4eb3f8a033dce678869
* Normalize whitespace in function signaturesJason R. Coombs2013-12-071-3/+3
| | | | | --HG-- extra : histedit_source : 471b9c3fbde309c39492f2a567a26993c1dc94de
* Modernize style on sandbox.pyJason R. Coombs2013-11-241-32/+8
|