-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy pathsetup.py
41 lines (37 loc) · 1.15 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
from pathlib import Path
from setuptools import setup, find_packages
NAME = "pyloudnorm"
DESCRIPTION = "Implementation of ITU-R BS.1770-4 loudness algorithm in Python"
URL = "https://github.com/csteinmetz1/pyloudnorm"
EMAIL = "[email protected]"
AUTHOR = "Christian Steinmetz"
REQUIRES_PYTHON = ">=3.0"
VERSION = "0.1.1"
HERE = Path(__file__).parent
try:
with open(HERE / "README.md", encoding="utf-8") as f:
long_description = "\n" + f.read()
except FileNotFoundError:
long_description = DESCRIPTION
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=long_description,
long_description_content_type="text/markdown",
author=AUTHOR,
author_email=EMAIL,
python_requires=REQUIRES_PYTHON,
url=URL,
packages=["pyloudnorm"],
install_requires=["scipy>=1.0.1", "numpy>=1.14.2"],
include_package_data=True,
license="MIT",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Scientific/Engineering",
],
)