-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
58 lines (52 loc) · 1.91 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
"""Setup file for wiki_music."""
import logging
from pathlib import Path
from setuptools import setup, find_packages
log = logging.getLogger(__name__)
# The directory containing this file
PKG_ROOT = Path(__file__).parent
# Read package constants
README = (PKG_ROOT / "README.md").read_text()
VERSION = ((PKG_ROOT / "wiki_music" / "version.py")
.read_text().split(" = ")[1].replace("\"", ""))
REQUIREMENTS = (PKG_ROOT / "requirements.txt").read_text().split("\n")
# This call to setup() does all the work
setup(
name="wiki-music",
version=VERSION,
description="Music tagger with information retrieval from wikipedia",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/marian-code/wikipedia-music-tags",
author="Marián Rynik",
keywords="tagging music tags wikipedia",
author_email="[email protected]",
license="MIT",
classifiers=[
"Development Status :: 3 - Alpha",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Environment :: Console",
"Environment :: MacOS X",
"Environment :: X11 Applications :: Qt",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Multimedia :: Sound/Audio :: Analysis",
"Typing :: Typed"
],
packages=find_packages(exclude=("setup", "tests")),
include_package_data=True,
install_requires=REQUIREMENTS,
extras_require={"test": ["unittest"] + REQUIREMENTS},
python_requires=">=3.6",
entry_points={
"console_scripts": [
"wiki-music-gui=wiki_music.app_gui:main",
"wiki-music-cli=wiki_music.app_cli:main",
]
},
)