-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
53 lines (50 loc) · 2.14 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
# -*- coding: utf-8 -*-
"""Setup file for pip install"""
from pathlib import Path
import setuptools
project_dir = Path(__file__).parent
setuptools.setup(
name="music_mood_analysis",
version="1.0.5",
description="Music mood analysis",
long_description=project_dir.joinpath("README.md").read_text(encoding="utf-8"),
long_description_content_type="text/markdown",
keywords=["python"],
author="Richard Baltrusch",
url="https://github.com/rbaltrusch/music_mood_analysis",
packages=setuptools.find_packages("."),
python_requires=">=3.8",
include_package_data=True,
package_data={"music_mood_analysis": ["py.typed"]}, # for mypy
# This is a trick to avoid duplicating dependencies between both setup.py and requirements.txt.
# requirements.txt must be included in MANIFEST.in for this to work.
install_requires=project_dir.joinpath("requirements.txt")
.read_text(encoding="utf-8")
.split("\n"),
zip_safe=False,
license="AGPLv3",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
# 3.12 doesn't work with setup.py, see: https://stackoverflow.com/questions/73533994/sub-package-not-importable-after-installation pylint: disable=line-too-long
# "Programming Language :: Python :: 3.12",
"Topic :: Artistic Software",
"Topic :: Desktop Environment",
"Topic :: Multimedia",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Sound/Audio :: Analysis",
"Topic :: Scientific/Engineering",
"Typing :: Typed",
],
)