summaryrefslogtreecommitdiff
path: root/setuptools/command/easy_install.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'master' into 2020-06-11-raise-fromJason R. Coombs2020-07-031-42/+5
|\
| * Merge pull request #2166 from pypa/bugfix/2165-remove-site-pyJason R. Coombs2020-07-031-42/+2
| |\ | | | | | | Remove site.py hack
| | * Setuptools no longer installs a site.py file during easy_install or develop ↵Jason R. Coombs2020-05-291-42/+2
| | | | | | | | | | | | installs. Ref #2165.
| * | Restore __requires__ directive for compatibility. Fixes #2198.Jason R. Coombs2020-06-161-0/+3
| | |
* | | Fix exception causes all over the codebaseRam Rachum2020-06-281-5/+9
|/ /
* | Merge pull request #1973 from jdufresne/makedirsJason R. Coombs2020-06-151-2/+2
|\ \ | | | | | | Remove pkg_resources.py31compat.makedirs() in favor of the stdlib
| * | Remove pkg_resources.py31compat.makedirs() in favor of the stdlibJon Dufresne2020-02-161-2/+2
| | | | | | | | | | | | | | | As setuptools is now python 3.5+, this compatibility shim is no longer necessary.
* | | Unify the entry point template.Jason R. Coombs2020-06-151-25/+29
| | |
* | | Fix entry point scriptsOfek Lev2020-06-151-1/+1
| | |
* | | addressOfek Lev2020-06-141-1/+0
| | |
* | | addressOfek Lev2020-06-141-4/+2
| | |
* | | Decrease start-up time of editable-installed entry points on newer versions ↵Ofek Lev2020-06-141-13/+30
| |/ |/| | | | | of Python
* | 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
|