aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/sandbox.py
Commit message (Collapse)AuthorAgeFilesLines
* 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