mirror of
https://github.com/beetbox/beets.git
synced 2026-02-09 08:52:30 +01:00
Flake fixes
This commit is contained in:
parent
b88319da05
commit
4a2f0d11b8
2 changed files with 73 additions and 72 deletions
14
docs/conf.py
14
docs/conf.py
|
|
@ -1,10 +1,9 @@
|
|||
AUTHOR = u'Adrian Sampson'
|
||||
|
||||
# -- General configuration -----------------------------------------------------
|
||||
# General configuration
|
||||
|
||||
extensions = ['sphinx.ext.autodoc']
|
||||
|
||||
#templates_path = ['_templates']
|
||||
exclude_patterns = ['_build']
|
||||
source_suffix = '.rst'
|
||||
master_doc = 'index'
|
||||
|
|
@ -17,20 +16,19 @@ release = '1.3.5'
|
|||
|
||||
pygments_style = 'sphinx'
|
||||
|
||||
# -- Options for HTML output ---------------------------------------------------
|
||||
# Options for HTML output
|
||||
|
||||
html_theme = 'default'
|
||||
#html_static_path = ['_static']
|
||||
htmlhelp_basename = 'beetsdoc'
|
||||
|
||||
# -- Options for LaTeX output --------------------------------------------------
|
||||
# Options for LaTeX output
|
||||
|
||||
latex_documents = [
|
||||
('index', 'beets.tex', u'beets Documentation',
|
||||
AUTHOR, 'manual'),
|
||||
('index', 'beets.tex', u'beets Documentation',
|
||||
AUTHOR, 'manual'),
|
||||
]
|
||||
|
||||
# -- Options for manual page output --------------------------------------------
|
||||
# Options for manual page output
|
||||
|
||||
man_pages = [
|
||||
('reference/cli', 'beet', u'music tagger and library organizer',
|
||||
|
|
|
|||
131
setup.py
131
setup.py
|
|
@ -20,10 +20,12 @@ import subprocess
|
|||
import shutil
|
||||
from setuptools import setup
|
||||
|
||||
|
||||
def _read(fn):
|
||||
path = os.path.join(os.path.dirname(__file__), fn)
|
||||
return open(path).read()
|
||||
|
||||
|
||||
# Build manpages if we're making a source distribution tarball.
|
||||
if 'sdist' in sys.argv:
|
||||
# Go into the docs directory and build the manpage.
|
||||
|
|
@ -41,73 +43,74 @@ if 'sdist' in sys.argv:
|
|||
shutil.rmtree(mandir)
|
||||
shutil.copytree(os.path.join(docdir, '_build', 'man'), mandir)
|
||||
|
||||
setup(name='beets',
|
||||
version='1.3.5',
|
||||
description='music tagger and library organizer',
|
||||
author='Adrian Sampson',
|
||||
author_email='adrian@radbox.org',
|
||||
url='http://beets.radbox.org/',
|
||||
license='MIT',
|
||||
platforms='ALL',
|
||||
long_description=_read('README.rst'),
|
||||
test_suite='test.testall.suite',
|
||||
include_package_data=True, # Install plugin resources.
|
||||
setup(
|
||||
name='beets',
|
||||
version='1.3.5',
|
||||
description='music tagger and library organizer',
|
||||
author='Adrian Sampson',
|
||||
author_email='adrian@radbox.org',
|
||||
url='http://beets.radbox.org/',
|
||||
license='MIT',
|
||||
platforms='ALL',
|
||||
long_description=_read('README.rst'),
|
||||
test_suite='test.testall.suite',
|
||||
include_package_data=True, # Install plugin resources.
|
||||
|
||||
packages=[
|
||||
'beets',
|
||||
'beets.ui',
|
||||
'beets.autotag',
|
||||
'beets.util',
|
||||
'beets.dbcore',
|
||||
'beetsplug',
|
||||
'beetsplug.bpd',
|
||||
'beetsplug.web',
|
||||
'beetsplug.lastgenre',
|
||||
],
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'beet = beets.ui:main',
|
||||
],
|
||||
},
|
||||
packages=[
|
||||
'beets',
|
||||
'beets.ui',
|
||||
'beets.autotag',
|
||||
'beets.util',
|
||||
'beets.dbcore',
|
||||
'beetsplug',
|
||||
'beetsplug.bpd',
|
||||
'beetsplug.web',
|
||||
'beetsplug.lastgenre',
|
||||
],
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'beet = beets.ui:main',
|
||||
],
|
||||
},
|
||||
|
||||
install_requires=[
|
||||
'enum34',
|
||||
'mutagen>=1.22',
|
||||
'munkres',
|
||||
'unidecode',
|
||||
'musicbrainzngs>=0.4',
|
||||
'pyyaml',
|
||||
]
|
||||
+ (['colorama'] if (sys.platform == 'win32') else [])
|
||||
+ (['ordereddict'] if sys.version_info < (2, 7, 0) else []),
|
||||
install_requires=[
|
||||
'enum34',
|
||||
'mutagen>=1.22',
|
||||
'munkres',
|
||||
'unidecode',
|
||||
'musicbrainzngs>=0.4',
|
||||
'pyyaml',
|
||||
]
|
||||
+ (['colorama'] if (sys.platform == 'win32') else [])
|
||||
+ (['ordereddict'] if sys.version_info < (2, 7, 0) else []),
|
||||
|
||||
tests_require=[
|
||||
'responses',
|
||||
],
|
||||
tests_require=[
|
||||
'responses',
|
||||
],
|
||||
|
||||
# Plugin (optional) dependencies:
|
||||
extras_require={
|
||||
'beatport': ['requests'],
|
||||
'fetchart': ['requests'],
|
||||
'chroma': ['pyacoustid'],
|
||||
'discogs': ['discogs-client'],
|
||||
'echonest_tempo': ['pyechonest'],
|
||||
'lastgenre': ['pylast'],
|
||||
'web': ['flask'],
|
||||
},
|
||||
# Non-Python/non-PyPI plugin dependencies:
|
||||
# replaygain: mp3gain || aacgain
|
||||
# convert: ffmpeg
|
||||
# bpd: pygst
|
||||
# Plugin (optional) dependencies:
|
||||
extras_require={
|
||||
'beatport': ['requests'],
|
||||
'fetchart': ['requests'],
|
||||
'chroma': ['pyacoustid'],
|
||||
'discogs': ['discogs-client'],
|
||||
'echonest_tempo': ['pyechonest'],
|
||||
'lastgenre': ['pylast'],
|
||||
'web': ['flask'],
|
||||
},
|
||||
# Non-Python/non-PyPI plugin dependencies:
|
||||
# replaygain: mp3gain || aacgain
|
||||
# convert: ffmpeg
|
||||
# bpd: pygst
|
||||
|
||||
classifiers=[
|
||||
'Topic :: Multimedia :: Sound/Audio',
|
||||
'Topic :: Multimedia :: Sound/Audio :: Players :: MP3',
|
||||
'License :: OSI Approved :: MIT License',
|
||||
'Environment :: Console',
|
||||
'Environment :: Web Environment',
|
||||
'Programming Language :: Python :: 2',
|
||||
'Programming Language :: Python :: 2.6',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
],
|
||||
classifiers=[
|
||||
'Topic :: Multimedia :: Sound/Audio',
|
||||
'Topic :: Multimedia :: Sound/Audio :: Players :: MP3',
|
||||
'License :: OSI Approved :: MIT License',
|
||||
'Environment :: Console',
|
||||
'Environment :: Web Environment',
|
||||
'Programming Language :: Python :: 2',
|
||||
'Programming Language :: Python :: 2.6',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
],
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue