aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/sandbox.py
Commit message (Collapse)AuthorAgeFilesLines
...
* More post-merge fixes.Vinay Sajip2013-06-191-1/+0
| | | | | --HG-- branch : single-codebase
* Merged upstream changes.Vinay Sajip2013-06-191-0/+2
|\ | | | | | | | | --HG-- branch : single-codebase
| * Merge Python 3 native support from distributeJason R. Coombs2013-06-181-7/+10
| |\ | | | | | | | | | | | | --HG-- rename : tests/test_distribute_setup.py => tests/test_ez_setup.py
| | * Merge Vinay Sajip's unified Python 2/3 support from distribute 3Jason R. Coombs2013-06-181-1/+4
| | |\ | | | | | | | | | | | | | | | | --HG-- branch : distribute
| | * \ Merge with upstreamJason R. Coombs2013-06-181-7/+13
| | |\ \ | | | | | | | | | | | | | | | | | | | | --HG-- branch : distribute
| | * | | Changes to support 2.x and 3.x in the same codebase.Vinay Sajip2011-06-201-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 7d3608edee54a43789f0574d702fb839628b5071
* | | | | Misc. updates following 2to3 checks.Vinay Sajip2013-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : single-codebase
* | | | | 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). --HG-- branch : single-codebase
* | | | Remove redundant exception for os.devnullJason R. Coombs2013-05-161-2/+1
| | | | | | | | | | | | | | | | | | | | --HG-- branch : Setuptools-Distribute merge
* | | | Merged sandbox moduleJason R. Coombs2013-03-201-9/+38
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | --HG-- branch : Setuptools-Distribute merge
| * | | Update sandbox.py to latest from setuptools-0.6Jason R. Coombs2013-03-201-19/+60
| | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : Setuptools-Distribute merge extra : source : 7f4dd650af5779b69ae13fe6a1b4adce386b5489
* | | | 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.) --HG-- branch : distribute extra : rebase_source : c245820df5090ac5d005ebb7d6c4419145afce53
* | | 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 --HG-- branch : distribute extra : rebase_source : 476550766b7b756dced040ad4356b7685d6f062a
* | | Exclude 'encodings' modules when removing modules from sys.modules. ↵Jason R. Coombs2012-05-181-2/+8
| |/ |/| | | | | | | | | | | | | Workaround for #285. (Fixes #285) --HG-- branch : distribute extra : rebase_source : 913eaebbb0971a044d6087dc4faa2fdb4220def2
* | Adds some missing bits to the sandbox fix--need to actually save/restore the ↵Erik Bray2011-05-201-1/+3
| | | | | | | | | | | | | | | | pkg_resources state. --HG-- branch : distribute extra : rebase_source : 961ca56f30a6aabb5d24eff3cabb527d1be93ae4
* | 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 --HG-- branch : distribute extra : rebase_source : 6feed4430505ad2d2680b141d41dccb95d9e80af
* | Updated gen_py exception to use attribute of win32com rather than infer the ↵Jason R. Coombs2010-05-151-4/+3
| | | | | | | | | | | | | | | | location of gen_py --HG-- branch : distribute extra : rebase_source : 55f1f3c23dc20edf9c91ea223fc5762fda22f5b2
* | Merged Fix for #151Jason R. Coombs2010-05-151-2/+5
|\ \ | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 7f7f9c64a26c6110096387b9862e06455c49f2ec
| * | we want any(), not all()Tarek Ziade2010-05-061-1/+1
| | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : c740917424bbc5efdfb91360399f1f17a09ea3a1
| * | make sure all tests passes on all python versions fixes #149Tarek Ziade2010-05-061-7/+12
| | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 6288f4fcf65083b9d4ffb0ea8b35af44e699b4d5
* | | Fix for #151 - attribute error when gen_py doesn't have __init__ moduleJason R. Coombs2010-05-151-2/+7
|/ / | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 6d42ed6e7f4d1ab4500aa8a695ee64af6a3f63f8
* | Worked out a fix for failing sandbox errors in Windows. Fixes #118.Jason R. Coombs2010-03-021-2/+12
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 69c8e59604f9d711cd29bb55e9edd3caab2b36a0
* | Allowing 'os.devnull' in Sandbox, fixes #101tarek2009-12-041-2/+6
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : d6f63794621874eb637139f353314256e02e02df
* | fix a hole in sandboxing allowing builtin file to write outside of the sandboxPhilip Jenvey2009-10-121-0/+6
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 5ff181b30f41080ec0e0628c96abf270ffe1a730
* | Conditionalize _file processing.Martin v. Löwis2009-09-111-4/+10
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : fd07ce0e0541a269a88596e985884f688c86185e
* | Packages required at build time where not fully present at install time. ↵Hanno Schlichting2009-07-171-3/+4
| | | | | | | | | | | | | | | | This closes #12. --HG-- branch : distribute extra : rebase_source : 178f508c83ecab9244064108d55ce840111a0e34
* | Applied patch from pjenvey. This closes #6.Hanno Schlichting2009-07-161-3/+7
|/ | | | | | --HG-- branch : distribute extra : rebase_source : 96ce51b3a70155a8b87de8ed0f72de8e12a7a27c
* Fix os.open() sandboxing code that refused anything but read-only access.PJ Eby2006-12-301-2/+2
| | | | | | | | (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053199
* 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) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4052438
* Recognize 'U' as a valid read-only mode for open()PJ Eby2006-04-211-1/+1
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4045629
* Fixed the setup script sandbox facility not recognizing certain paths asPJ Eby2005-07-241-2/+2
| | | | | | | | valid on case-insensitive platforms. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041146
* 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. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041109
* 0.5a3 bugfix releasePJ Eby2005-06-251-6/+6
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041072
* 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. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041050
* Split setup-running and archive-extraction utilities into separate modules,PJ Eby2005-06-121-0/+205
for easy use by tools other than EasyInstall. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041049