aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | uniquify paths in PYTHONPATHrobnagler2019-02-261-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | When running in a complex environment with lots of installed packages, PYTHONPATH gets way too long. Instead, just make sure that paths_on_pythonpath doesn't contain duplicates
* | | | Merge branch 'master' into license-fix-357Jason R. Coombs2019-01-274-18/+181
|\| | |
| * | | Feed the hobgoblins (delint).Jason R. Coombs2018-12-291-2/+2
| | | |
| * | | Import distribution in doctestPaul Ganssle2018-12-281-0/+1
| | | | | | | | | | | | | | | | Fixes GH issue #1612, bug introduced in commit 0902f02d9d68f18
| * | | Access pkg_resources objects through its namespaceJason R. Coombs2018-12-241-11/+13
| | |/ | |/|
| * | import internal version of sixOleg Sharov2018-11-131-3/+3
| | |
| * | Remove bdist_rpm and bdist_dumb commentPaul Ganssle2018-11-121-8/+2
| | | | | | | | | | | | | | | | | | | | | This comment is not used anywhere and `platform.dist()` is deprecated. See CPython PR #10414: https://github.com/python/cpython/pull/10414 and bpo-35186: https://bugs.python.org/issue35186
| * | Fix show_response behavior on Python 2Paul Ganssle2018-11-071-3/+5
| | | | | | | | | | | | | | | | | | | | | The `upload.show_response` feature was not added until Python 3. Rather than backport it, it is now enabled only if supported. This also adds a "smoke test" for the feature.
| * | Fix bdist_rpm and bdist_dumb in upload_filePaul Ganssle2018-11-071-0/+1
| | | | | | | | | | | | | | | This fixes uploads when bdist_rpm or bdist_dumb are the command, both of which insert a comment about what platform they are built for.
| * | Fix gpg signature code in upload_filePaul Ganssle2018-11-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | This fixes an issue where `distutils.spawn.spawn` was not available in the ported upload_file, which is only used when signing the data. This also adds a test that the gpg signature command is invoked and included in the uploaded data.
| * | Use get_metadata_version in upload_filePaul Ganssle2018-11-071-1/+1
| | | | | | | | | | | | | | | | | | | | | Previously this value was hard-coded to '1.0', which was inaccurate for many packages. Fixes #1381
| * | Add upload_file to setuptools.command.uploadPaul Ganssle2018-11-071-1/+146
| | |
| * | Add setup.py to egg-info by defaultShashank Singh2018-11-021-0/+6
| | | | | | | | | | | | Fixes GH issue #1506
| * | Add custom deprecation warning classesJunhan Huang2018-10-282-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `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>
* | | Address review commentsDeniz Taneli2018-11-101-6/+6
| | |
* | | `check_license` no longer needs to parse `setup.cfg`Deniz Taneli2018-10-281-17/+13
| | |
* | | Setuptools will install licenses if included in setup.cfgDeniz Taneli2018-10-272-0/+26
|/ / | | | | | | | | | | | | | | | | Addressing #357 `python setup.py sdist` now includes the license file if `license_file` is included in `setup.cfg` unless it is explicitly excluded in `MANIFEST.in`. Co-Authored-By: Poyzan Nur Taneli <31743851+ptaneli@users.noreply.github.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
| |
* | Merge pull request #1427 from stephenfin/touch-egg-info-directoryJason R. Coombs2018-09-162-0/+1
|\ \ | | | | | | Touch 'egg-info' directory
| * | egg_info: Touch 'egg-info' directoryStephen Finucane2018-08-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'tox' determines whether a package should be rebuilt by comparing the timestamp of the package's 'egg-info' directory and its 'setup.py' or 'setup.cfg' files [1][2]. Unfortunately this checks the 'egg-info' directory itself, which is not updated, unlike the contents of that directory. This means that 'tox' will always rebuild the package once one of the two setup files has been updated. While this is clearly a bug in 'tox' that should be fixed separately, there is merit in using this as a heuristic so enable it. [1] https://github.com/tox-dev/tox/blob/3.1.0/src/tox/venv.py#L253-L257 [2] https://github.com/tox-dev/tox/blob/3.1.0/src/tox/venv.py#L221-L244 Signed-off-by: Stephen Finucane <stephen@that.guru>
| * | 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>
* | | setuptools: fix regression with `egg_info` commandBenoit Pierre2018-08-211-8/+8
|/ / | | | | | | Ensure version is tagged only once.
* | Support scripts with unicode contentDaniele Esposti2018-08-171-4/+4
| | | | | | | | This also renames the _to_ascii function to better reflect its purpose.
* | Remove spurious executable permissionsMiro Hrončok2018-07-2712-0/+0
| |
* | Merge pull request #1416 from pganssle/use_sixPaul Ganssle2018-07-201-1/+1
|\ \ | |/ |/| Switch over to using six.PY{2,3} when possible
| * Switch over to using six.PY{2,3} when possiblePaul Ganssle2018-07-101-1/+1
| |
* | Extract name/version functionality from egg_info to be re-used by a ↵Jason R. Coombs2018-07-131-26/+35
|/ | | | dist-info command. Ref #1386.
* Deprecate upload and register commandsDustin Ingram2018-07-082-3/+22
|
* Use Python 3 syntax for new-style clasessJason R. Coombs2018-06-033-3/+9
|
* Remove redundant Python 3.1 codeHugo2018-05-241-1/+2
|
* Drop support for EOL Python 3.3Hugo2018-05-242-12/+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
* Setuptools now vendors its own direct dependencies (packaging, six, ↵Jason R. Coombs2018-03-171-1/+1
| | | | pyparsing). Ref #1296.
* Revert "Prefer new_build_ext for Cython builds as recommended by Cython ↵Jason R. Coombs2018-02-061-1/+1
| | | | | | project. Fixes #1270." Reopens #1270. Fixes #1271. This reverts commit 038baa16016503708cf3bddcaf2f9b8d541c17bc.
* Feed the hobgoblins (delint).Jason R. Coombs2018-02-051-4/+8
|
* Prefer new_build_ext for Cython builds as recommended by Cython project. ↵Jason R. Coombs2018-02-041-1/+1
| | | | Fixes #1270.
* Import Cython.Compiler.Main as recommended by Cython project to improve ↵Jason R. Coombs2018-02-041-0/+3
| | | | Cython detection. Fixes #1229.
* Merge pull request #1263 from benoit-pierre/fix_python37_supportJason R. Coombs2018-02-031-1/+3
|\ | | | | fix Python 3.7 support
| * fix Python 3.7 supportBenoit Pierre2018-01-251-1/+3
| | | | | | | | | | - update scanning code to handle pyc header change - handle change to `Exception.__repr__` output
* | Fix dry-run handlingBenoit Pierre2018-01-251-1/+1
|/
* Refactor to short-circuit on dry-runJason R. Coombs2018-01-201-7/+9
|
* Merge branch 'master' into masterJason R. Coombs2018-01-051-4/+1
|\
| * Merge pull request #1207 from cryvate/fix-issue-1206Jason R. Coombs2018-01-041-4/+1
| |\ | | | | | | Add setup.cfg support for long_description_content_type
| | * Rework how to handle long_description_content_typeHenk-Jaap Wagenaar2017-11-251-4/+1
| | |
| | * Add setup.cfg support for long_description_content_type (in line with docs).Henk-Jaap Wagenaar2017-11-211-1/+1
| | |
* | | 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
* | Fix NameErrorJason R. Coombs2017-11-251-1/+1
|/