Commit Graph

11 Commits

Author SHA1 Message Date
CaseySJ 622d83c428
aura_led: add driver for Asus Aura LED USB controllers (#456) 2022-05-27 20:58:14 -03:00
Jonas Malaco 1f9ff1cf03 setup: add long_description metadata for PyPI 2022-03-12 03:43:24 -03:00
Jonas Malaco 8380c03603 tox: add minimal configuration 2022-02-26 06:35:15 -03:00
Jonas Malaco 3d05977353 build: move to PEP 517
The build backend remains setuptools (for now).

Additionally, setuptools_scm is adopted, in place of our previous ad-hoc
handling of extracting version information from git.  This plugin also
provides some interesting extra features, like automatic inclusion of
all versioned data files; now MANIFEST.in only needs to specify the very
few files to exclude from the source distribution.

On the other hand, the DIST_NAME and DIST_PACKAGE environment variables
are currently not being used.  Their main purpose is somewhat fulfilled
with platform.platform(); and by not using them the new build setup can
be completely declarative, requiring users to run no custom code or ours
when building or installing liquidctl.

As the build backend is setuptools, setup.cfg is used for metadata and
other backend configuration, per the current setuptools docs.[^1]  This
also means that we have yet not moved to PEP 621 ("Storing project
metadata in pyproject.toml").[^2]

To build the sdist and universal wheel, use python-build.[^3] Locally,
pip is still a suitable way to install, and --editable mode is still
supported. But when re-packing for Linux or other distributions,
consider python-installer.[^4][^5][^6]

[^1]: https://setuptools.pypa.io/en/latest/build_meta.html
[^2]: https://www.python.org/dev/peps/pep-0621/
[^3]: https://github.com/pypa/build
[^4]: https://github.com/pradyunsg/installer
[^5]: https://lists.archlinux.org/pipermail/arch-dev-public/2022-February/030737.html
[^6]: https://wiki.archlinux.org/title/Python_package_guidelines#Standards_based_(PEP_517)
2022-02-26 06:35:10 -03:00
Marshall Asch 5c0f2429f3
added the coverage file to the ignore file 2020-12-29 11:55:01 -05:00
Jonas Malaco cfe069cf32 ignore: remove unused gitignore globs
Please ignore your editor-specific files with a global gitignore file.
To set one up, do:

    git config --global core.excludesfile ~/.gitignore_global
2020-07-29 22:21:58 -03:00
Jonas Malaco 98aedbc6bd Set up tox 2020-06-16 06:01:14 -03:00
Jonas Malaco 3342b0fa8a Add git info to --version 2019-09-17 05:38:56 -03:00
Jonas Malaco 8822031bd4 Add proof of concept of status–duty translator
Related: #1
2018-10-22 10:22:05 -03:00
Jonas Malaco d854e0f357 Remove Vscode file 2018-09-07 06:13:42 -03:00
Jonas Malaco bb1a82ade7 Add support for 2nd gen. Kraken X 2018-08-26 06:50:49 -03:00