summaryrefslogtreecommitdiff
path: root/setuptools/sandbox.py
Commit message (Collapse)AuthorAgeFilesLines
* Exempt lib2to3 pickled grammars from the DirectorySandboxing. Fixes #121.2.0Jason R. Coombs2013-12-071-2/+5
|
* Add support for exempting a path based on a regular expression.Jason R. Coombs2013-12-071-2/+12
|
* Use any on a generator insteadJason R. Coombs2013-12-071-2/+2
|
* Use any for matching exceptions in DirectorySandbox.Jason R. Coombs2013-12-071-2/+5
|
* Always return a boolean in DirectorySandbox._okJason R. Coombs2013-12-071-4/+9
|
* Normalize whitespace in function signaturesJason R. Coombs2013-12-071-3/+3
|
* Modernize style on sandbox.pyJason R. Coombs2013-11-241-32/+8
|
* Remove compatibility around reduce.Jason R. Coombs2013-11-241-2/+3
|
* Allow other arguments and kwargs to os.open when in the sandbox. Fixes ↵Jason R. Coombs2013-07-131-3/+3
| | | | Distribute #386.
* More post-merge fixes.Vinay Sajip2013-06-191-1/+0
|
* Merged upstream changes.Vinay Sajip2013-06-191-0/+2
|\
| * Merge Python 3 native support from distributeJason R. Coombs2013-06-181-9/+37
| |\
| * \ Merge Vinay Sajip's unified Python 2/3 support from distribute 3Jason R. Coombs2013-06-181-1/+4
| |\ \
| * \ \ Merge with upstreamJason R. Coombs2013-06-181-7/+10
| |\ \ \
| | * | | Changes to support 2.x and 3.x in the same codebase.Vinay Sajip2011-06-201-7/+10
| | | | |
* | | | | Misc. updates following 2to3 checks.Vinay Sajip2013-06-171-1/+1
| | | | |
* | | | | Initial commit. All tests pass on 2.7, 3.2 and 3.3, though there are some ↵Vinay Sajip2013-06-151-7/+9
| |_|_|/ |/| | | | | | | | | | | atexit errors in the multiprocessing module in 2.7/3.2 (seemingly unrelated to setuptools).
* | | | Remove redundant exception for os.devnullJason R. Coombs2013-05-161-2/+1
| | | |
* | | | Merged sandbox moduleJason R. Coombs2013-03-201-9/+38
|\ \ \ \ | |_|_|/ |/| | |
| * | | Update sandbox.py to latest from setuptools-0.6Jason R. Coombs2013-03-201-19/+60
| | | |
* | | | Fix 2 errors with Jython 2.5.Arfrever Frehtes Taifersar Arahesis2012-11-261-1/+4
| |/ / |/| | | | | | | | (Now there remain 1 failure and 2 errors with Jython 2.5 and 1 failure and 5 errors with Jython 2.7.)
* | | Adds a fix for issue #318, including a regression test. This also fixes ↵Erik Bray2012-09-061-5/+5
| | | | | | | | | | | | another test that was passing trivially due to *bug* in yet another test, ugh
* | | Exclude 'encodings' modules when removing modules from sys.modules. ↵Jason R. Coombs2012-05-181-2/+8
| |/ |/| | | | | Workaround for #285. (Fixes #285)
* | Adds some missing bits to the sandbox fix--need to actually save/restore the ↵Erik Bray2011-05-201-1/+3
| | | | | | | | pkg_resources state.
* | Found a public API method which is preferable to using the private attribute ↵Jason R. Coombs2010-05-151-5/+3
| | | | | | | | for ascertaining the location of the gen_py cache
* | Updated gen_py exception to use attribute of win32com rather than infer the ↵Jason R. Coombs2010-05-151-4/+3
| | | | | | | | location of gen_py
* | Merged Fix for #151Jason R. Coombs2010-05-151-7/+10
|\ \
| * | Fix for #151 - attribute error when gen_py doesn't have __init__ moduleJason R. Coombs2010-05-151-2/+7
| | |
* | | we want any(), not all()Tarek Ziade2010-05-061-1/+1
| | |
* | | make sure all tests passes on all python versions fixes #149Tarek Ziade2010-05-061-7/+12
|/ /
* | Worked out a fix for failing sandbox errors in Windows. Fixes #118.Jason R. Coombs2010-03-021-2/+12
| |
* | Allowing 'os.devnull' in Sandbox, fixes #101tarek2009-12-041-2/+6
| |
* | fix a hole in sandboxing allowing builtin file to write outside of the sandboxPhilip Jenvey2009-10-121-0/+6
| |
* | Conditionalize _file processing.Martin v. L?wis2009-09-111-4/+10
| |
* | Packages required at build time where not fully present at install time. ↵Hanno Schlichting2009-07-171-3/+4
| | | | | | | | This closes #12.
* | Applied patch from pjenvey. This closes #6.Hanno Schlichting2009-07-161-3/+7
|/
* Fix os.open() sandboxing code that refused anything but read-only access.PJ Eby2006-12-301-2/+2
| | | | (backport from trunk)
* Fixed not allowing ``os.open()`` of paths outside the sandbox, even if theyPJ Eby2006-10-241-1/+42
| | | | | | are opened read-only (e.g. reading ``/dev/urandom`` for random numbers, as is done by ``os.urandom()`` on some platforms). (backport from trunk)
* Recognize 'U' as a valid read-only mode for open()PJ Eby2006-04-211-1/+1
|
* Fixed the setup script sandbox facility not recognizing certain paths asPJ Eby2005-07-241-2/+2
| | | | valid on case-insensitive platforms.
* Detect and handle conflicts with "unmanaged" packages when installingPJ Eby2005-07-101-2/+2
| | | | | packages managed by EasyInstall. Also, add an option to exclude source files from .egg distributions.
* 0.5a3 bugfix releasePJ Eby2005-06-251-6/+6
|
* Rebalance responsibilities between PackageIndex, Installer, and main() soPJ Eby2005-06-121-1/+1
| | | | | | | | that PackageIndex handles all downloading of any kind, Installers can be reused for multiple packages, and main() manages temporary directories and all communication between PackageIndex and Installer. Also, change run_setup to take an argument sequence, because later we will probably need other arguments to control other aspects of run_setup's behavior.
* Split setup-running and archive-extraction utilities into separate modules,PJ Eby2005-06-121-0/+205
for easy use by tools other than EasyInstall.