1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-12-22 17:06:17 +00:00
Commit Graph

33 Commits

Author SHA1 Message Date
Alban Féron
ec92dec9ab
Build and include man pages in distributions
I do not fully understand how the building process works, and have some doubts
on what a "source distribution" should be.
The sdist might be polluted if a "man" directory exists at the project root
when building the distribution.
The inclusion of man pages in the wheel requires it to be built from the sdist,
so it's best to build both at the same time using "python -m build".

Closes #215
2021-12-31 18:05:43 +01:00
Alban Féron
b4e737c243
Use test discovery rather than explicit suites 2021-11-20 21:01:00 +01:00
Alban Féron
8ab9f444b7
Rationalizing/modernizing building stuff
Metadata in `setup.cfg` rather than `pyproject.toml` as I'm a bit confused
about `setuptools` support for PEP-621.
Test stuff still in `setup.py`, this needs updating and I'm not satisfied with
the way they are loaded/discovered.
2021-11-14 18:08:22 +01:00
Alban Féron
f8c3d99e87
Embedded server using poorly designed wrappers on some WSGI servers 2021-11-01 17:41:56 +01:00
Carey Metcalfe
387a5e3de3 Switch to using zipstream-ng to generate and stream zip files
- Fixes zip downloads failing when zipping enough data that Zip64
   extensions are required by automatically enabling them if needed.
 - Fixes zip downloads failing when a file has a datestamp that zipfiles
   cannot store (pre-1980 or post-2108) by clamping them within the
   supported range.
 - Massively speeds up zip downloads by disabling compression (audio
   files generally don't compress well anyway)
 - Computes the total size of a generated zip file before streaming it
   and sets the `Content-Length` header. This allows clients to show a
   final size and progress bar while downloading, as well as detect if
   the download fails.
 - Adds a check to prevent sending an empty zip file to the client if
   there was no content to download (will error out instead).
2021-10-08 00:38:09 -04:00
Alban Féron
8cef628219
Advertising (and testing) Python 3.9 support 2020-11-25 21:24:59 +01:00
Alban Féron
9a3bdc30ac
Removing shebang and executable flag from explicit python files 2020-11-22 16:28:26 +01:00
Alban Féron
81d141e540
pyupgrade 2020-11-22 16:12:14 +01:00
Alban Féron
0183bcb698
Use mediafile rather than mutagen directly 2020-10-24 17:55:21 +02:00
Alban Féron
aa6ca54dc1
Trove Py3.8 2020-01-19 16:31:14 +01:00
Alban Féron
1d01450f33
Dropping Python 2 support 2019-12-23 16:23:57 +01:00
Alban Féron
8a3ea151cc
Merge branch 'dependencies' 2019-07-13 17:09:56 +02:00
Alban Féron
ce792e39c5
Trove Python 3.7 2019-07-13 15:01:59 +02:00
Louis-Philippe Véronneau
acf7e32ea5
don't require scandir for python3 2019-07-08 00:48:40 -04:00
Alban Féron
7c8a75d45c
Runnig black on everything 2019-06-29 17:25:44 +02:00
spl0k
1ce2f6fe70 Changed the way the CLI is installed 2019-06-16 16:02:50 +02:00
spl0k
e29ab91a97 Renamed supysonic-watcher to supysonic-daemon
Since it no longer only watches files
Also changed the way it's installed
2019-06-10 16:16:24 +02:00
Alban
ba289065ce
Stupid comma 2019-04-13 19:01:34 +02:00
Alban
7edc30d683
Fixed setup.py 2019-04-13 18:54:39 +02:00
spl0k
a3d3c66c74 watchdog is now required
Even if the watcher is unused, due to imports
2019-04-13 16:27:55 +02:00
Carey Metcalfe
3db489aa7b Add compatibility shims for Python 2.7
- `os.scandir` (provided by a 3rd party package in 2.7)
- `os.replace` (doesn't exist in 2.7 - have to use `os.rename` instead)
- `os.utime` (the times param is required in 2.7)
2019-01-19 15:37:09 -05:00
spl0k
25c5c8277e Add support for downloadong folders and albums
Ref #131
2019-01-13 17:18:27 +01:00
spl0k
66bc65a46c Fixed setup installing tests 2018-09-01 17:52:00 +02:00
spl0k
38f718b4df Using new pony on_connect decorator
Revert "Restore SQLite case insensitive LIKE"
This reverts commit a08689e8c0.
2018-08-11 16:16:34 +02:00
spl0k
af50e8bf91 Rewritten dependencies and don't use pip as a library
Closes #97, #98
2018-04-29 14:51:30 +02:00
spl0k
d570eddc6d Notify Python 3 support
Closes #75
2018-01-18 21:13:19 +01:00
spl0k
d19886fafa Rewritten and improved existing tests 2017-11-01 20:55:35 +01:00
spl0k
06ac60a677 Added trove classifiers 2017-10-25 22:15:14 +02:00
Óscar García Amor
d9d90ffacf Retab and change header to frontend __init__.py 2017-08-07 13:10:06 +02:00
Óscar García Amor
523903cac5 Improved setup script 2017-08-07 11:04:00 +02:00
Óscar García Amor
3c2f1651a3 Added static content to setup.py 2017-07-10 20:19:15 +02:00
Andre-Nam
40bff33bc7 added supysonic-watcher to setup.py scripts 2014-10-22 18:05:04 +02:00
Jelmer Vernooij
a254d17801 Add a setup.py file. 2014-05-04 23:48:17 +02:00