Commit Graph

19 Commits

Author SHA1 Message Date
bastimeyer 80a76451f3 build: include build-shell-completions.sh in sdist 2023-10-21 17:38:07 +02:00
bastimeyer 194d9bc193 build: override setuptools build backend
- Add custom build backend which overrides certain hooks
- Include custom build backend in sdists via `MANIFEST.in`
- Remove `build>=1.0.0` workaround from `build-and-sign.sh`
- Add build backend tests, update order of tests and coverage config
2023-09-18 13:50:20 +02:00
bastimeyer 317dc8efdc build: include icon.svg in sdist 2023-01-25 14:39:34 -08:00
bastimeyer 6ce58babd2 chore: remove examples
Examples haven't been updated in ages, and the last remaining example
only uses Streamlink's URL resolver, and not any of Streamlink's stream
implementations, so it's a rather useless example of third party code.
2023-01-09 09:36:40 -08: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
bastimeyer 2dd2f35930 installer: drop Windows installer build config
Drop installer build config in favor of the external build config at:
https://github.com/streamlink/windows-installer

- remove installer build scripts+configs
- remove Streamlink config file in win32 subdirectory
- remove windows-installer CI job
  - update steps of the release CI job
- remove removed-plugins file
  - remove src/streamlink/plugins/.removed
  - update package manifest
  - update tests
  - update developing docs
- rewrite install docs
2022-04-03 22:09:35 +02:00
bastimeyer 2eb9689fac setup: include shell completions in sdist
- move build directory of the shell completions from /build/shtab to
  /completions due to an sdist restriction of setuptools and MANIFEST.in
- recursively include the /completions directory in MANIFEST.in
- update data_files path in setup.py (for inclusion in wheels)
- update .gitignore
2021-11-15 18:53:58 +01:00
bastimeyer d79b396e6d build: include removed plugins file in sdist 2021-03-24 00:53:08 +01:00
bastimeyer 7a74e1848d build: include man page in sdist tarballs 2021-01-24 12:14:48 -08:00
Alexis Murzeau 2d43899172 sdist: include tests resources (#1785)
Tests resources files were not included in the source archive before,
while tests might require them. For example dash *.mpd files in
tests/resources.
2018-06-13 00:44:12 +01:00
beardypig a14f170a04 sdist and wheel release fixes (#1758)
* build: fix for universal wheel on python 2.7

* release: fix build order for deploys

The script to build the sdist and wheel packages is run before the
script that uploads them to PyPI. The sdist script doesn't clean up
the environment, but extra prune options have been added to the
MANIFEST.in file (thanks @back-to).

* build: ensure twine/wheel up-to-date and upload sdist/whl separately
2018-06-07 18:01:16 -07:00
beardypig deffd929d1 Change log as markdown refactor (#1667)
* rename CHANGELOG to md

* symlink the change log in to the docs

* include the recommonmark parser for md file

* reformatted the CHANGELOG md file, should look more or less the same as the RST

* refactored the release scripts to handle/generate the new format

* file is a bad variable name

* couple of minor tweaks, mainly style

* Fix git shortlog being highlighted as Python in the docs

* update manifest to include changelog.md instead of rst
2018-05-28 16:15:12 -07:00
beardypig 416c8347b3 build: use versioneer to set the build number (#1413)
* build: use versioneer to set the build number

* build: update the deploy scripts to use versioneer

* release: update docs version and fix tarball version

* build: no need to install versioneer on travis, etc.
2018-05-13 22:18:52 -07:00
beardypig 5deb3413a8 docs: tweaks to docs and docs build process
Minor tweaks to the docs. Fixed all the warnings and enabled "Fail on warning" option so that problems with the docs will cause the build to fail on warning, the docs are also built for every commit and PR.
Restructured the travis script/after_success so that the docs are only pushed if the build was successful (only master branch and no PRs).
2017-01-16 11:52:14 +00:00
beardypig b8b6c24940 include CHANGELOG.rst instead of .md in the egg 2017-01-12 07:38:46 +00:00
Beardypig f29b08c58c Windows command line parsing fix (#300)
* Enable automated testing on Windows via AppVeyor

* tests: add some tests for the command line argument parsing

* cli: fixed windows argument parsing with escaped quotes, etc.

* tests: python2.6 requires unittest2

* tests: fixed awful typo!
2016-12-15 11:47:22 -08:00
Stefan 15ad59cd98 Debian packaging base (#80)
* copy initial stuff from livestreamer, but renamed to streamlink

* rename here, too, so the build passes

* fix incorrect file names

* fix renamed/deleted files

* rename debian files

* update name to point to current copyright

* remove old livestreamer changelog
2016-10-27 19:30:58 -07:00
Stefan c058de3562 include examples dir in source dist
The docs reference files in examples/ which are missing from the source dist,
thus producing a warning when building the docs from it.
2014-03-01 11:37:20 +01:00
Christopher Rosell 41372b8df7 Add docs and tests to the source dist. 2014-02-26 15:05:13 +01:00