aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/easy_install.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove shebang. Fixes #2076.Jason R. Coombs2020-05-031-1/+0
|
* Merge pull request #1431 from hroncok/fedora-makedirsJason R. Coombs2020-03-211-0/+6
|\ | | | | Make install directory if it doesn't exist yet
| * Make install directory if it doesn't exist yetMiro Hrončok2018-07-201-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: In Fedora, `sudo python3 setup.py install` installs to /usr/local/lib/pythonX.Y/site-packages. However that directory is not always there as it is not installed together with the python3 package (Fedora packages should not install stuff to /usr/local). When the directory does not exist an installation attempt fails with: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/site-packages/test-easy-install-11875.write-test' Solution: Make the directory if it doesn't exists yet. If user has no permissions, the above error is preserved, yet with root (sudo) it works now.
* | Merge branch 'master' into pr-easyinstallJohannes Reiff2020-01-251-13/+19
|\ \
| * | 👹 Feed the hobgoblins (delint).Jason R. Coombs2020-01-191-13/+18
| | |
| * | Fix for Python 4: replace unsafe six.PY3 with PY2Hugo2020-01-081-1/+1
| | |
* | | Make easy_install command less strict (fixes #1405)Johannes Reiff2019-12-191-14/+10
|/ /
* | Revert "drop easy_install script and associated documentation"Benoit Pierre2019-11-161-1/+54
| | | | | | | | This reverts commit 6e1838a9fb5feb000ba9b6a3c37c8b39d7e872b3.
* | deprecate easy_install commandBenoit Pierre2019-11-151-1/+7
| |
* | drop easy_install script and associated documentationBenoit Pierre2019-11-151-54/+1
| |
* | Merge pull request #1824 from asottile/python310Jason R. Coombs2019-10-271-3/+3
|\ \ | | | | | | Fixes for python3.10
| * | Fixes for python3.10Anthony Sottile2019-08-171-3/+3
| | |
* | | minor cleanupBenoit Pierre2019-10-071-2/+1
|/ /
* | Add custom deprecation warning classesJunhan Huang2018-10-281-4/+11
| | | | | | | | | | | | | | | | | | | | | | `DeprecationWarning` is not visible by default in the latest versions of CPython, so this switches the deprecation warnings in setuptools and pkg_resources over to custom classes derived from `Warning` instead. Fixes issue github issue #159 Co-authored-by: Junhan Huang <robin.j.huang@gmail.com> Co-authored-by: Marton Pono <marci93@gmail.com>
* | Drop use of six.u (#1517)Thirumal Venkat2018-10-231-1/+1
| |
* | Replace redundant code with call of that code.Jason R. Coombs2018-09-231-3/+1
| |
* | Use stacklevel=2 to better reveal usage of deprecated calls.Jason R. Coombs2018-09-231-1/+1
| |
* | trivial: Fix file permissionsStephen Finucane2018-08-191-0/+0
| | | | | | | | | | | | There's no reason these should be executable. Signed-off-by: Stephen Finucane <stephen@that.guru>
* | Support scripts with unicode contentDaniele Esposti2018-08-171-4/+4
|/ | | | This also renames the _to_ascii function to better reflect its purpose.
* Use Python 3 syntax for new-style clasessJason R. Coombs2018-06-031-1/+3
|
* Remove redundant Python 3.1 codeHugo2018-05-241-1/+2
|
* Update all pypi.python.org URLs to pypi.orgJon Dufresne2018-04-261-1/+1
| | | | | | For details on the new PyPI, see the blog post: https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
* Fix dry-run handlingBenoit Pierre2018-01-251-1/+1
|
* Refactor to short-circuit on dry-runJason R. Coombs2018-01-201-7/+9
|
* Removed warning when PYTHONDONTWRITEBYTECODE is enabledZoran Simic2017-12-091-1/+0
|
* easy_install: add support for installing from wheelsBenoit Pierre2017-11-261-0/+32
| | | | | | | | | | Note: wheels are installed as eggs, so each install is self-contained and multiple versions of the same package can be installed at the same time. Limitations: - headers are not supported - resulting egg metadata requirements have their markers stripped
* Shorten link for nicer indentationJason R. Coombs2017-10-251-1/+1
|
* Use makedirs with future compatibility throughout setuptools. Ref #1083.Jason R. Coombs2017-07-131-3/+2
|
* Merge branch 'master' into feature/re-vendor-sadfaceJason R. Coombs2017-05-301-7/+17
|\
| * Consolidate technique for reading PYTHONPATH.Jason R. Coombs2017-04-101-4/+7
| |
| * Nicer syntax for processing PYTHONPATHJason R. Coombs2017-04-101-3/+10
| |
| * Fix for auto_chmod behaviorEmil Styrke2017-02-271-1/+1
| | | | | | Apparently, in (at least) python 3.5.2, the function that is called on Windows to remove files is os.unlink and not os.remove. This results in permission errors when trying to clean up after easy_install has been used to install a package from a Git repository.
| * Python 3.6 invalid escape sequence deprecation fixesVille Skyttä2017-02-241-1/+1
| |
* | 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
|
* Cast the value to rmtree to bytes on Linux and Python 2 when the ↵Jason R. Coombs2016-12-211-1/+2
| | | | filesystemencoding is ascii, and let posixpath work its voodoo. Fixes #706.
* Move toward future compatibility using unicode strings, but cast to native ↵Jason R. Coombs2016-12-181-8/+4
| | | | str as workaround for #709, #710, and #712.
* Extract tmpdir as a context managerJason R. Coombs2016-12-181-9/+14
|
* Can't use six.u as 'c:\users' triggers unicode_escape and fails. Ref #704.Jason R. Coombs2016-12-181-1/+1
|
* When invoking rmtree, ensure the parameter is unicode to avoid errors when ↵Jason R. Coombs2016-12-181-0/+3
| | | | the tree contains Unicode filenames. Fixes #704.
* Fix quantity of blank lines.stepshal2016-10-181-4/+3
|
* Don't duplicate error case in package_indexSteve Kowalik2016-09-131-11/+3
| | | | | | | easy_install has code to handle parsing a requirement, catching the ValueError and then raising a DistUtilsError. This code was entirely duplicated in package_index, so I've slightly refactored to remove the duplication.
* easy_install: update links to documentationBenoit Pierre2016-08-291-3/+4
|
* Make import unconditionalOfekmeister2016-08-201-1/+1
| | | | Put import on top and updated CHANGES.rst
* Fix issue #459Ofekmeister2016-08-161-0/+2
| | | | Patched sys.argv[0] before loading entry point
* Revert "Ensure that tmpdir is unicode. Fixes #704."Mehdi Abaakouk2016-08-021-1/+1
| | | | | | | | | | | | | | | | This reverts commit 857949575022946cc60c7cd1d0d088246d3f7540. As we can see on https://github.com/pypa/setuptools/issues/709, this breaks many things (easy_install C extensions, all py3.5 tests, run with LANG=C). So instead of fixing in a hurry all new bugs due to this, I propose to revert this commit until all downsides of this change have been investigated. Related bug: https://github.com/pypa/setuptools/issues/709 Related bug: https://github.com/pypa/setuptools/issues/710 Related bug: https://github.com/pypa/setuptools/issues/712
* Ensure that tmpdir is unicode. Fixes #704.Jason R. Coombs2016-07-301-1/+1
|
* Remove copy of rmtree, as Python 2.3 is no longer supported.Jason R. Coombs2016-07-291-33/+1
|
* Set sys path technique to raw by default. Fixes #674.Jason R. Coombs2016-07-231-1/+1
|
* Merge pull request #616 from fkrull/issue398Jason R. Coombs2016-07-221-1/+10
|\ | | | | Fix "failed to create process" issue on Windows