mirror of
https://github.com/spl0k/supysonic.git
synced 2024-11-09 19:52:16 +00:00
watchdog is now required
Even if the watcher is unused, due to imports
This commit is contained in:
parent
c7f1499d46
commit
a3d3c66c74
10
README.md
10
README.md
@ -64,10 +64,9 @@ You'll need these to run _Supysonic_:
|
|||||||
* [Python Imaging Library](https://github.com/python-pillow/Pillow)
|
* [Python Imaging Library](https://github.com/python-pillow/Pillow)
|
||||||
* [requests](http://docs.python-requests.org/)
|
* [requests](http://docs.python-requests.org/)
|
||||||
* [mutagen](https://mutagen.readthedocs.io/en/latest/)
|
* [mutagen](https://mutagen.readthedocs.io/en/latest/)
|
||||||
* [watchdog](https://github.com/gorakhargosh/watchdog) (if you want to use the
|
* [watchdog](https://github.com/gorakhargosh/watchdog)
|
||||||
[watcher](#watching-library-changes))
|
|
||||||
|
|
||||||
All the dependencies (except _watchdog_) will automatically be installed by the
|
All the dependencies will automatically be installed by the
|
||||||
installation command above.
|
installation command above.
|
||||||
|
|
||||||
You may also need a database specific package if you don't want to use SQLite
|
You may also need a database specific package if you don't want to use SQLite
|
||||||
@ -233,11 +232,6 @@ The watcher is `supysonic-watcher`, it is a non-exiting process. If you want to
|
|||||||
keep it running in background, either use the old `nohup` or `screen` methods,
|
keep it running in background, either use the old `nohup` or `screen` methods,
|
||||||
or start it as a simple _systemd_ unit (unit file not included).
|
or start it as a simple _systemd_ unit (unit file not included).
|
||||||
|
|
||||||
It needs some additional dependencies which can be installed with the following
|
|
||||||
command:
|
|
||||||
|
|
||||||
$ pip install -e .[watcher]
|
|
||||||
|
|
||||||
## Upgrading
|
## Upgrading
|
||||||
|
|
||||||
To upgrade your _Supysonic_ installation, simply re-run the command you used to
|
To upgrade your _Supysonic_ installation, simply re-run the command you used to
|
||||||
|
9
setup.py
9
setup.py
@ -5,7 +5,7 @@
|
|||||||
# This file is part of Supysonic.
|
# This file is part of Supysonic.
|
||||||
# Supysonic is a Python implementation of the Subsonic server API.
|
# Supysonic is a Python implementation of the Subsonic server API.
|
||||||
#
|
#
|
||||||
# Copyright (C) 2013-2018 Alban 'spl0k' Féron
|
# Copyright (C) 2013-2019 Alban 'spl0k' Féron
|
||||||
# 2017 Óscar García Amor
|
# 2017 Óscar García Amor
|
||||||
#
|
#
|
||||||
# Distributed under terms of the GNU AGPLv3 license.
|
# Distributed under terms of the GNU AGPLv3 license.
|
||||||
@ -15,7 +15,6 @@ import supysonic as project
|
|||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
from setuptools import find_packages
|
from setuptools import find_packages
|
||||||
|
|
||||||
|
|
||||||
reqs = [
|
reqs = [
|
||||||
'flask>=0.11',
|
'flask>=0.11',
|
||||||
'pony>=0.7.6',
|
'pony>=0.7.6',
|
||||||
@ -23,11 +22,9 @@ reqs = [
|
|||||||
'requests>=1.0.0',
|
'requests>=1.0.0',
|
||||||
'mutagen>=1.33',
|
'mutagen>=1.33',
|
||||||
'scandir<2.0.0',
|
'scandir<2.0.0',
|
||||||
|
'watchdog>=0.8.0'
|
||||||
'zipstream'
|
'zipstream'
|
||||||
]
|
]
|
||||||
extras = {
|
|
||||||
'watcher': [ 'watchdog>=0.8.0' ]
|
|
||||||
}
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name=project.NAME,
|
name=project.NAME,
|
||||||
@ -41,7 +38,6 @@ setup(
|
|||||||
license=project.LICENSE,
|
license=project.LICENSE,
|
||||||
packages=find_packages(exclude=['tests*']),
|
packages=find_packages(exclude=['tests*']),
|
||||||
install_requires = reqs,
|
install_requires = reqs,
|
||||||
extras_require = extras,
|
|
||||||
scripts=['bin/supysonic-cli', 'bin/supysonic-watcher'],
|
scripts=['bin/supysonic-cli', 'bin/supysonic-watcher'],
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
@ -63,4 +59,3 @@ setup(
|
|||||||
'Topic :: Multimedia :: Sound/Audio'
|
'Topic :: Multimedia :: Sound/Audio'
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
-e .[watcher]
|
-e .
|
||||||
|
|
||||||
lxml
|
lxml
|
||||||
coverage
|
coverage
|
||||||
codecov
|
codecov
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user