aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* distutils_extensions: improve pip detectionArthur Zamarin2022-07-301-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* Another attempt to fix distutils extensionArthur Zamarin2022-07-291-0/+4
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* distutils_extensions: fix import w/ newer setuptoolsArthur Zamarin2022-07-291-1/+3
|
* Revert "distutils_extensions: fix import w/ newer setuptools(?)"Arthur Zamarin2022-07-291-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 James2022-07-291-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_pyMike Gilbert2021-12-251-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 directlyMike Gilbert2021-12-251-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 Harring2021-09-261-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 isortTim Harder2021-07-011-6/+4
|
* dist.distutils_extensions: migrate to using distutils bundled with setuptoolsTim Harder2021-07-011-9/+9
| | | | | Since distutils is now deprecated in py3.10 and will be removed in py3.12.
* dist.distutils_extensions: simplify cython_exts()Tim Harder2021-03-281-17/+8
|
* sort imports with isortTim Harder2021-03-283-18/+21
|
* dist.distutils_extensions: drop unused BUILD_WHEEL conditionalTim Harder2021-03-261-1/+1
|
* dist.distutils_extensions: fix git build determinationTim Harder2021-03-261-1/+1
|
* dist.distutils_extensions: use package dir when running build_py in-placeTim Harder2021-03-261-1/+1
|
* dist.distutils_extensions: add support for forcing binary wheel creationTim Harder2021-03-261-0/+11
|
* dist.distutils_extensions: simplify registering subcommandsTim Harder2021-03-221-10/+7
|
* dist.distutils_extensions: use super() for parent class callsTim Harder2021-03-211-17/+13
|
* dist.distutils_extensions: drop OptionalExtension supportTim Harder2021-03-211-23/+2
|
* dist.generate_docs: drop script supportTim Harder2021-03-211-34/+0
|
* dist.generate_man_rsts: drop unused shebang lineTim Harder2021-03-211-2/+0
|
* dist.distutils_extensions: add BUILD_WHEEL env flag to force installTim Harder2021-03-211-1/+1
|
* Revert "dist.distutils_extensions: use pyproject.toml header to classify dev ↵Tim Harder2021-03-201-7/+7
| | | | | | builds" This reverts commit a87f4d1fcf2a3a694e661d1cd22833ad6c3b09a7.
* dist.distutils_extensions: use pyproject.toml header to classify dev buildsTim Harder2021-03-201-6/+4
|
* dist.distutils_extensions: replace pyproject.toml for sdistTim Harder2021-03-201-1/+10
|
* dist.distutils_extensions: explicitly set pytest verbosity levelTim Harder2021-03-171-3/+1
| | | | Defaults to verbose and can be decreased/increased with -q/-v options.
* dist.generate_man_rsts: minor string consistencyTim Harder2021-03-161-3/+3
|
* dist.generate_man_rsts: dynamically patch arghparse attributeTim Harder2021-03-161-8/+6
| | | | To pull extended docs during man page generation.
* dist.distutils_extensions: drop unnecessary doc generation wrappersTim Harder2021-03-161-14/+3
|
* dist.distutils_extensions: drop duplicated snakeoil functionalityTim Harder2021-03-161-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 moduleTim Harder2021-03-161-140/+0
| | | | All relevant projects have moved to pytest a long time ago.
* dist.distutils_extensions: drop unittest test command supportTim Harder2021-03-161-91/+0
| | | | All projects using pkgdist will also use its pytest support.
* dist.generate_man_rsts: use f-strings instead of '%' formattingTim Harder2021-03-161-8/+8
|
* dist.generate_man_rsts: use raw strings for regexesTim Harder2021-03-161-4/+4
|
* dist.generate_man_rsts: drop old, unused script supportTim Harder2021-03-161-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 PYTHONPATHTim Harder2021-03-081-1/+6
|
* dist.distutils_extensions: run pytest as a separate processTim Harder2021-03-081-12/+12
| | | | To fully control the module search path.
* dist.distutils_extensions: fix man pages install for sdistTim Harder2021-03-061-1/+1
|
* dist.distutils_extensions: unconditionally run build_man for sdistTim Harder2021-03-061-11/+9
| | | | It'll be skipped if no man page content exists.
* dist.distutils_extensions: unconditionally add doc building related cmdsTim Harder2021-03-061-29/+32
| | | | And skip the build/install phases if no content is found.
* dist.distutils_extensions: drop unnecessary --cov-config settingTim Harder2021-03-041-4/+0
| | | | Since we're not using chdir() anymore this shouldn't be needed.
* dist.distutils_extensions: drop unnecessary chdir() usageTim Harder2021-03-041-5/+1
|
* dist.distutils_extensions: set commands by defaultTim Harder2021-03-031-0/+3
| | | | | Consumers can override them as required using the returned command dictionary.
* dist.distutils_extensions: add lint to the default command listTim Harder2021-03-031-0/+1
|
* dist.distutils_extensions: fully install packages for pytest runsTim Harder2021-03-031-17/+11
|
* dist.distutils_extensions: provide default install cmdTim Harder2021-02-271-0/+1
|
* dist.distutils_extensions: force pip to require supported python versionsTim Harder2021-02-111-0/+1
|
* dist.distutils_extensions: drop readthedocs supportTim Harder2020-12-141-4/+1
| | | | We build docs via github actions now.
* dist.distutils_extensions: drop jython specific functionalityTim Harder2020-12-141-11/+4
| | | | Since we don't support it anymore.
* dist.distutils_extensions: drop 2to3 and 3to2 commandsTim Harder2020-12-141-113/+0
| | | | Since we're py3 only now.