forked from detly/gammatone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (42 loc) · 1.82 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
# Copyright 2014 Jason Heeris, [email protected]
#
# This file is part of the gammatone toolkit, and is licensed under the 3-clause
# BSD license: https://github.com/detly/gammatone/blob/master/COPYING
import os
from setuptools import find_packages, setup
_PATH_ROOT = os.path.dirname(__file__)
with open(os.path.join(_PATH_ROOT, "README.md"), encoding="utf-8") as fo:
README = fo.read()
# replace relative links with absolute links
README = README.replace("](docs/", "](https://github.com/Lightning-Sandbox/gammatone/raw/main/docs/")
setup(
name="Gammatone",
version="1.0.3",
author="Jason Heeris",
author_email="[email protected]",
url="https://github.com/Lightning-Sandbox/gammatone",
download_url="https://github.com/Lightning-Sandbox/gammatone/archive/main.zip",
long_description=README,
python_requires=">=3.8",
long_description_content_type="text/markdown",
packages=find_packages(where="src"),
package_dir={"": "src"},
install_requires=["numpy", "scipy", "matplotlib"],
extras_require={"test": ["pytest", "mock"]},
entry_points={"console_scripts": ["gammatone = gammatone.plot:main"]},
classifiers=[
"Environment :: Console",
"Natural Language :: English",
# How mature is this project? Common values are
# 3 - Alpha, 4 - Beta, 5 - Production/Stable
"Development Status :: 4 - Beta",
# Indicate who your project is intended for
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: Information Analysis",
# Pick your license as you wish
"Operating System :: OS Independent",
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
"Programming Language :: Python :: 3",
],
)