summaryrefslogtreecommitdiff
path: root/setuptools
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | Test that manifest can exclude setup.pyPaul Ganssle2018-11-031-0/+21
| | | | | |
| * | | | | Add setup.py to egg-info by defaultShashank Singh2018-11-021-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | Fixes GH issue #1506
| * | | | | Add tests for setup.py inclusionShashank Singh2018-11-023-4/+70
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | This tests that `setup.py` is included by default in the distribution with the egg_info command and when an sdist is built with build_meta.build_sdist
| * | | | Merge pull request #1541 from smenon8/deprecate-requiresPaul Ganssle2018-10-292-1/+38
| |\ \ \ \ | | | | | | | | | | | | Deprecate the requires keyword
| | * \ \ \ Merge branch 'master' into deprecate-requiresSreejith Menon2018-10-281-19/+27
| | |\ \ \ \
| | * | | | | Deprecate the requires keywordSreejith Menon2018-10-272-1/+37
| | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For runtime dependencies, install_requires should be used. For build dependencies, a PEP 518-compliant `pyproject.toml` should be used. Other dependencies can use extra requirements.
| * | | | | Add unit tests for setuptools deprecation warningsrobinjhuang2018-10-283-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are tests to ensure that the specified deprecation warnings are raised when the functions are called. Co-authored-by: Junhan Huang <robin.j.huang@gmail.com> Co-authored-by: Marton Pono <marci93@gmail.com>
| * | | | | Add custom deprecation warning classesJunhan Huang2018-10-285-8/+36
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `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>
| * | | | Inline variableJason R. Coombs2018-10-281-4/+1
| | | | |
| * | | | Extract _get_option function for getting an option from getter or attribute.Jason R. Coombs2018-10-281-9/+14
| | | | |
| * | | | Feed the hobgoblins (delint).Jason R. Coombs2018-10-281-6/+11
| |/ / /
| * | | Remove pytest marker and code for Python < 2.7Nikolaus Waxweiler2018-10-272-7/+0
| | | |
| * | | Mark Py 2/3-only tests as skip instead of xfailNikolaus Waxweiler2018-10-275-6/+6
| | | | | | | | | | | | | | | | | | | | Also reuse pre-defined py2_only and py3_only decorators where appropriate.
* | | | Remove unnecessary parameters from the testDeniz Taneli2018-11-101-6/+2
| | | |
* | | | Address review commentsDeniz Taneli2018-11-102-6/+8
| | | |
* | | | `check_license` no longer needs to parse `setup.cfg`Deniz Taneli2018-10-281-17/+13
| | | |
* | | | Make the new tests parametrizedDeniz Taneli2018-10-281-60/+19
| | | |
* | | | Unit tests for installing licenses from setup.cfg (#357)Deniz Taneli2018-10-271-0/+92
| | | | | | | | | | | | | | | | Co-Authored-By: Poyzan Nur Taneli <31743851+ptaneli@users.noreply.github.com>
* | | | 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>
* | | Merge pull request #1520 from ssato/data_files_2Jason R. Coombs2018-10-252-0/+25
|\ \ \ | | | | | | | | Add data_files support in setup.cfg
| * | | Add data_files support in setup.cfg with test caseSatoru SATOH2018-10-242-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | In the test case, dist.data_files needs to be sorted because the current implementation loads the configuration files as a dictionary with arbitrary order on Python < 3.6.
* | | | Drop use of six.u (#1517)Thirumal Venkat2018-10-231-1/+1
|/ / /
* | | Deprecate Subversion download functionality. Ref #1502. Used UserWarning ↵Jason R. Coombs2018-09-231-0/+2
| | | | | | | | | | | | instead of DeprecationWarning so it's visible to users who might be relying on this functionality.
* | | Suppress Unbuild egg warnings in TestPTHFileWriterJason R. Coombs2018-09-231-0/+1
| | |
* | | Update tests to remove use of deprecated get_script_headerJason R. Coombs2018-09-231-5/+5
| | |
* | | 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
| | |
* | | Use preferred interface, fixing DeprecationWarning on later Pythons.Jason R. Coombs2018-09-231-2/+1
| | |
* | | Ignore warnings about deprecated features.Jason R. Coombs2018-09-231-0/+1
| | |
* | | Capture expected warningJason R. Coombs2018-09-231-1/+3
| | |
* | | Bump to pyparsing 2.2.1 and re-run paver update_vendored. Fixes #1480.Jason R. Coombs2018-09-182-13/+35
| | |
* | | Add tests exposing the issues with sdist_directory not being --dist-dirBernat Gabor2018-09-161-1/+35
| | |
* | | build_meta sdist directory delegate to --dist-dirBernat Gabor2018-09-161-4/+2
| | |
* | | Merge pull request #1402 from ↵Jason R. Coombs2018-09-161-8/+33
|\ \ \ | | | | | | | | | | | | | | | | daa/pkg-resources-always-handle-namespace-package-path Improved handling of module __path__ attribute for namespace packages, fixes #1321
| * | | remove xfail for AppVeyor from namespace tests entirelyAlexander Duryagin2018-08-211-4/+0
| | | |
| * | | remove xfail for namespace tests that actually pass in AppVeyorAlexander Duryagin2018-08-211-13/+1
| | | |
| * | | change formatting to fix flake8 warningAlexander Duryagin2018-08-171-2/+4
| | | |
| * | | xfail namespace packages tests on appveyor instead of skipping themAlexander Duryagin2018-08-171-8/+16
| | | |
| * | | always process module.__path__ for namespace packages, fixes #1321Alexander Duryagin2018-06-271-0/+31
| | | |
* | | | Merge pull request #1427 from stephenfin/touch-egg-info-directoryJason R. Coombs2018-09-163-0/+18
|\ \ \ \ | | | | | | | | | | Touch 'egg-info' directory
| * | | | egg_info: Touch 'egg-info' directoryStephen Finucane2018-08-192-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '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>
* | | | | Merge pull request #1477 from gaborbernat/no-sdist-wheelJason R. Coombs2018-09-162-6/+11
|\ \ \ \ \ | | | | | | | | | | | | build_meta.get_requires_for_build_sdist does not include wheel
| * | | | | build_meta.get_requires_for_build_sdist does not include wheelBernat Gabor2018-09-132-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the wheel package is not required to build a source distribution Resolves #1474.
* | | | | | Remove use of compatibility shim six.binary_typeJon Dufresne2018-09-142-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The type bytes is available on all supported Pythons. Makes the code more forward compatible with Python 3.
* | | | | | Add tests for setuptools.globJon Dufresne2018-09-141-0/+35
|/ / / / /
* | | | | DelintJason R. Coombs2018-08-211-26/+34
| | | | |
* | | | | Use unicode literals in test_easy_install.Jason R. Coombs2018-08-211-11/+13
| | | | |
* | | | | DelintJason R. Coombs2018-08-211-1/+3
| | | | |
* | | | | Reindent to avoid hanging indent.Jason R. Coombs2018-08-211-44/+46
| | | | |