Commit Graph

3 Commits

Author SHA1 Message Date
bastimeyer 334e18e412 tools: add mypy config
- Add mypy and available typing stubs to dev-requirements
- Add mypy config
- Add py.typed to streamlink + streamlink_cli packages (PEP 561):
  This is required, so that mypy can import types from streamlink when
  installed in editable mode. Don't publish this file for now.
  Once various streamlink APIs are properly typed, typing stub files
  can be added instead.
2022-05-24 14:07:47 -07:00
bastimeyer 9dca2cef42 chore: move coverage config to pyproject.toml 2022-04-22 10:45:08 -07:00
bastimeyer 9b0815dbee build: add pyproject.toml, switch to versioningit
- Add basic pyproject.toml with build-system information
- Drop versioneer in favor of versioningit
- Delete versioneer install module and remove its setup.cfg config
- Replace `src/streamlink/_version.py` and load streamlink's version
  string via versioningit. The module's `__version__` export will get
  replaced by a static string on build-time when creating sdists/wheels,
  which results in the old versioneer behavior with support for
  editable installs.
- Make versioningit use the same version format as versioneer
- Update MANIFEST.in and .coveragerc
2022-04-10 07:55:31 +02:00