Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | distutils_extensions: improve pip detection | Arthur Zamarin | 2022-07-30 | 1 | -1/+1 |
| | | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | Another attempt to fix distutils extension | Arthur Zamarin | 2022-07-29 | 1 | -0/+4 |
| | | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | distutils_extensions: fix import w/ newer setuptools | Arthur Zamarin | 2022-07-29 | 1 | -1/+3 |
| | |||||
* | Revert "distutils_extensions: fix import w/ newer setuptools(?)" | Arthur Zamarin | 2022-07-29 | 1 | -4/+0 |
| | | | | | | | It didn't work sadly :( Reverts: b79d538893e83fc8cbf103849380e77f9e6466d4 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | distutils_extensions: fix import w/ newer setuptools(?) | Sam James | 2022-07-29 | 1 | -0/+4 |
| | | | | | | | | | | I'm not going to ask too many questions as we should really ditch this anyway. Closes: https://github.com/pkgcore/snakeoil/issues/69 Signed-off-by: Sam James <sam@gentoo.org> Closes: https://github.com/pkgcore/snakeoil/pull/70 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | distutils_extensions: extend setuptools.command.build_py | Mike Gilbert | 2021-12-25 | 1 | -1/+1 |
| | | | | | | | | Fixes a warning: ``` Custom 'build_py' does not implement 'get_data_files_without_manifest'. ``` Closes: https://github.com/pkgcore/snakeoil/pull/63 | ||||
* | distutils_extensions: don't import setuptools._distutils directly | Mike Gilbert | 2021-12-25 | 1 | -9/+9 |
| | | | | | | | | | | For some reason, this causes an ImportError when DISTUTILS_USE_SETUPTOOLS=local. setuptools already does some hackery to make setuptools._distutils override the distutils shipped in the standard libarary. Let's just rely on that. Bug: https://bugs.gentoo.org/822537 | ||||
* | dist: fix `setup.py develop` support. | Brian Harring | 2021-09-26 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | The scripts parameter is supposed to be a usable path, but was just the basename of the final scripts. This wasn't visible due to `build_scripts.finalize_options()` rewriting it to a proper path. The `develop` command, however, has no usage of `build_scripts` thus doesn't call it. It instead pukes that the files in the scripts param couldn't be found. The fix is to use proper/absolute paths, and have build_scripts handle that accordingly. Additionally, while I'm in here, I'm fixing some issues in `build_scripts` (option finalization creating directories, hardcoded paths to lookup, etc). | ||||
* | sort imports via isort | Tim Harder | 2021-07-01 | 1 | -6/+4 |
| | |||||
* | dist.distutils_extensions: migrate to using distutils bundled with setuptools | Tim Harder | 2021-07-01 | 1 | -9/+9 |
| | | | | | Since distutils is now deprecated in py3.10 and will be removed in py3.12. | ||||
* | dist.distutils_extensions: simplify cython_exts() | Tim Harder | 2021-03-28 | 1 | -17/+8 |
| | |||||
* | sort imports with isort | Tim Harder | 2021-03-28 | 3 | -18/+21 |
| | |||||
* | dist.distutils_extensions: drop unused BUILD_WHEEL conditional | Tim Harder | 2021-03-26 | 1 | -1/+1 |
| | |||||
* | dist.distutils_extensions: fix git build determination | Tim Harder | 2021-03-26 | 1 | -1/+1 |
| | |||||
* | dist.distutils_extensions: use package dir when running build_py in-place | Tim Harder | 2021-03-26 | 1 | -1/+1 |
| | |||||
* | dist.distutils_extensions: add support for forcing binary wheel creation | Tim Harder | 2021-03-26 | 1 | -0/+11 |
| | |||||
* | dist.distutils_extensions: simplify registering subcommands | Tim Harder | 2021-03-22 | 1 | -10/+7 |
| | |||||
* | dist.distutils_extensions: use super() for parent class calls | Tim Harder | 2021-03-21 | 1 | -17/+13 |
| | |||||
* | dist.distutils_extensions: drop OptionalExtension support | Tim Harder | 2021-03-21 | 1 | -23/+2 |
| | |||||
* | dist.generate_docs: drop script support | Tim Harder | 2021-03-21 | 1 | -34/+0 |
| | |||||
* | dist.generate_man_rsts: drop unused shebang line | Tim Harder | 2021-03-21 | 1 | -2/+0 |
| | |||||
* | dist.distutils_extensions: add BUILD_WHEEL env flag to force install | Tim Harder | 2021-03-21 | 1 | -1/+1 |
| | |||||
* | Revert "dist.distutils_extensions: use pyproject.toml header to classify dev ↵ | Tim Harder | 2021-03-20 | 1 | -7/+7 |
| | | | | | | builds" This reverts commit a87f4d1fcf2a3a694e661d1cd22833ad6c3b09a7. | ||||
* | dist.distutils_extensions: use pyproject.toml header to classify dev builds | Tim Harder | 2021-03-20 | 1 | -6/+4 |
| | |||||
* | dist.distutils_extensions: replace pyproject.toml for sdist | Tim Harder | 2021-03-20 | 1 | -1/+10 |
| | |||||
* | dist.distutils_extensions: explicitly set pytest verbosity level | Tim Harder | 2021-03-17 | 1 | -3/+1 |
| | | | | Defaults to verbose and can be decreased/increased with -q/-v options. | ||||
* | dist.generate_man_rsts: minor string consistency | Tim Harder | 2021-03-16 | 1 | -3/+3 |
| | |||||
* | dist.generate_man_rsts: dynamically patch arghparse attribute | Tim Harder | 2021-03-16 | 1 | -8/+6 |
| | | | | To pull extended docs during man page generation. | ||||
* | dist.distutils_extensions: drop unnecessary doc generation wrappers | Tim Harder | 2021-03-16 | 1 | -14/+3 |
| | |||||
* | dist.distutils_extensions: drop duplicated snakeoil functionality | Tim Harder | 2021-03-16 | 1 | -87/+3 |
| | | | | | | We should be able to use functionality imported from where it's implemented now due to pyproject.toml build dep support and forcing setup.py test runs to run against built copies. | ||||
* | dist: drop old, unused unittest_extensions module | Tim Harder | 2021-03-16 | 1 | -140/+0 |
| | | | | All relevant projects have moved to pytest a long time ago. | ||||
* | dist.distutils_extensions: drop unittest test command support | Tim Harder | 2021-03-16 | 1 | -91/+0 |
| | | | | All projects using pkgdist will also use its pytest support. | ||||
* | dist.generate_man_rsts: use f-strings instead of '%' formatting | Tim Harder | 2021-03-16 | 1 | -8/+8 |
| | |||||
* | dist.generate_man_rsts: use raw strings for regexes | Tim Harder | 2021-03-16 | 1 | -4/+4 |
| | |||||
* | dist.generate_man_rsts: drop old, unused script support | Tim Harder | 2021-03-16 | 1 | -21/+0 |
| | | | | | All man page generation support is wired through setuptools command support, e.g. `setup.py build_man`. | ||||
* | dist.distutils_extensions: prepend built package directory to PYTHONPATH | Tim Harder | 2021-03-08 | 1 | -1/+6 |
| | |||||
* | dist.distutils_extensions: run pytest as a separate process | Tim Harder | 2021-03-08 | 1 | -12/+12 |
| | | | | To fully control the module search path. | ||||
* | dist.distutils_extensions: fix man pages install for sdist | Tim Harder | 2021-03-06 | 1 | -1/+1 |
| | |||||
* | dist.distutils_extensions: unconditionally run build_man for sdist | Tim Harder | 2021-03-06 | 1 | -11/+9 |
| | | | | It'll be skipped if no man page content exists. | ||||
* | dist.distutils_extensions: unconditionally add doc building related cmds | Tim Harder | 2021-03-06 | 1 | -29/+32 |
| | | | | And skip the build/install phases if no content is found. | ||||
* | dist.distutils_extensions: drop unnecessary --cov-config setting | Tim Harder | 2021-03-04 | 1 | -4/+0 |
| | | | | Since we're not using chdir() anymore this shouldn't be needed. | ||||
* | dist.distutils_extensions: drop unnecessary chdir() usage | Tim Harder | 2021-03-04 | 1 | -5/+1 |
| | |||||
* | dist.distutils_extensions: set commands by default | Tim Harder | 2021-03-03 | 1 | -0/+3 |
| | | | | | Consumers can override them as required using the returned command dictionary. | ||||
* | dist.distutils_extensions: add lint to the default command list | Tim Harder | 2021-03-03 | 1 | -0/+1 |
| | |||||
* | dist.distutils_extensions: fully install packages for pytest runs | Tim Harder | 2021-03-03 | 1 | -17/+11 |
| | |||||
* | dist.distutils_extensions: provide default install cmd | Tim Harder | 2021-02-27 | 1 | -0/+1 |
| | |||||
* | dist.distutils_extensions: force pip to require supported python versions | Tim Harder | 2021-02-11 | 1 | -0/+1 |
| | |||||
* | dist.distutils_extensions: drop readthedocs support | Tim Harder | 2020-12-14 | 1 | -4/+1 |
| | | | | We build docs via github actions now. | ||||
* | dist.distutils_extensions: drop jython specific functionality | Tim Harder | 2020-12-14 | 1 | -11/+4 |
| | | | | Since we don't support it anymore. | ||||
* | dist.distutils_extensions: drop 2to3 and 3to2 commands | Tim Harder | 2020-12-14 | 1 | -113/+0 |
| | | | | Since we're py3 only now. |