Commit Graph

29 Commits

Author SHA1 Message Date
matham ed68be56e4
Merge pull request #7362 from pwoolvett/fix/invalid-extras-metadata
Build: No oneliners in [options.extras_require]
2021-02-02 15:08:12 -05:00
Pablo Woolvett 15c3890bd8 build: No oneliners in [options.extras_require]
Fix `setup.cfg` so that the resulting `METADATA` when generating
wheels contains correctly (not split) `Requires-Dist` entries.

Before:

Provides-Extra: angle
Requires-Dist: kivy-deps.angle (~=0.3.0) ; extra == 'angle'
Requires-Dist: sys-platform (=="win32") ; extra == 'angle'

After:

Provides-Extra: angle
Requires-Dist: kivy-deps.angle (~=0.3.0) ; (sys_platform == "win32") and extra == 'angle'

The same goes for gstreamer, angle, sdl2, and glew.
2021-02-02 16:37:10 -03:00
matham 80d08d2e30
Benchmarks: Add benchmarks option measurements to pytest (#7292)
* Add benchmarks to test.

* Add more benchmarks and use config file.

* benchmarks typo.
2021-01-21 17:01:20 -05:00
matham 4e2cd986ca
Setup: Fix buggy detection of cython module name (#7257)
* Fixx buggy detection of module name.

* Fix coverage concurrency race conditions.
2020-12-10 16:13:43 -05:00
Eero af Heurlin df5b2c16d5
Add pre-commit.com framework hooks (#7176)
* Add pre-commit hooks for basic standards conformity checking

* These should not be marked as executable

* These lack shebangs so marking them executable did not do anyone any good

* add pre-commit to dev requirements

* use pre-commit framework for the hook

* Move the pre-commit config outside of root

As discusses in https://github.com/kivy/kivy/pull/7176#discussion_r511240059

* Document that pre-commit is used and how to skip checks if needed

* Mark the old hook script as deprecated
2020-12-09 22:48:48 -05:00
Matthew Einhorn 1e03ffd3a7 Re-write install docs. 2020-11-28 03:36:39 -05:00
matham 850dbb6605
Expand dependency selection varaibles (#7178)
* Expand dependency options.

* Is equal instead of in.
2020-10-24 14:09:01 -04:00
Matthew Einhorn 0d3bc288f6 Bump cython to 0.29.21. 2020-10-14 17:41:41 -04:00
Matthew Einhorn 4777dcc763 Add support for Python 3.9. 2020-10-06 19:04:40 -04:00
matham 5bab4849c4
No need for quotes in setup file. 2020-09-27 13:26:58 -04:00
Akshay Arora b407ae4bdb
require python version >=3.6
supplement pr to #7110
2020-09-27 22:19:23 +05:30
matham f8ab7229c3
Add min basic dependencies to install requirements. 2020-09-14 17:43:30 -04:00
matham 6d09e3dc61
Update to latest cython version. (#6891) 2020-05-24 04:28:47 -04:00
matham bb1e8b28e5
Fix failing coverage (#6892)
* Fix failing coverage

* Fix PEP8

* format was not applied to the first string.

* Enable branch coverage by default.

* Update setup.cfg

* Update setup.cfg
2020-05-24 03:58:38 -04:00
matham 69338d7e41
Fix failing tests (#6845) 2020-04-29 00:05:32 -04:00
Matthew Einhorn 6607506953 Move flake8 config to setup.cfg, be more error spcific. 2020-01-05 02:36:21 -05:00
Matthew Einhorn 0b6b8930e6 Switch to flake8 and fix PEP8 issues. 2020-01-03 17:17:09 -05:00
Matthew Einhorn c252f82a8e Fix CI PyPI upload and pin to latest kivy_deps versions. 2019-12-28 22:54:51 -05:00
Matthew Einhorn 04aa073e2a Specify kivy_deps versions more precisely. 2019-12-28 00:01:04 -05:00
matham 9e3b1b121d
Add docutils and pygments. 2019-12-20 16:06:54 -05:00
Matthew Einhorn 69e72d98d4 Switch to using pyproject.toml and setup.cfg for metadata. 2019-12-08 20:03:44 -05:00
matham c52dc5d8cb
Bump max cython version. 2019-11-02 15:00:50 -04:00
Matthew Einhorn 4786f5e69f Add preliminary support for coverage for kv files. 2019-07-19 19:00:52 -04:00
Matthew Einhorn 45b016ca28 Move cython version to setup.cfg. 2019-06-02 22:48:20 -04:00
Mathieu Virbel ac9dbb7db6 reduce logging level for nosetests 2017-12-30 23:49:44 +01:00
Mathieu Virbel 508eec3a94 remove inclusive cover, or nosetest will failed. 2011-01-21 00:06:02 +01:00
Mathieu Virbel 5af852fb6b activate nosetests + reactivate coverage (ready for buildbot !) 2011-01-21 00:02:29 +01:00
Mathieu Virbel 32a053457a setup: use setuptool instead of distutils (now, nose work.) 2011-01-20 18:17:29 +01:00
Mathieu Virbel bc28d6b825 graphics: first pass to split graphics 2010-11-05 12:55:22 -04:00