forked from scikit-maad/scikit-maad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
68 lines (62 loc) · 2.54 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
59
60
61
62
63
64
65
66
67
68
#!/usr/bin/env python
#
# Copyright (C) 2018 Juan Sebastian ULLOA <[email protected]>
# Sylvain HAUPERT <[email protected]>
# License: BSD 3 clause
import os
import textwrap
from setuptools import setup, find_packages, Command
from importlib.machinery import SourceFileLoader
version = SourceFileLoader('maad.version',
'maad/version.py').load_module()
with open('README.md', 'r') as fdesc:
long_description = fdesc.read()
class CleanCommand(Command):
"""Custom clean command to tidy up the project root.
Deletes directories ./build, ./dist and ./*.egg-info
From the terminal type:
> python setup.py clean
"""
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
os.system('rm -vrf ./build ./dist ./*.egg-info')
setup(
name = 'scikit-maad',
version = version.__version__, # Specified at maad/version.py file
#packages = find_namespace_packages(include=['maad.*']),
packages = find_packages(),
author = 'Juan Sebastian Ulloa and Sylvain Haupert',
author_email = '[email protected], [email protected]',
maintainer = 'Juan Sebastian Ulloa and Sylvain Haupert',
description = 'scikit-maad, soundscape analysis in Python',
long_description = long_description,
long_description_content_type='text/markdown',
license = 'BSD 3 Clause',
keywords = ['ecoacoustics', 'bioacoustics', 'ecology', 'sound pressure level', 'signal processing'],
url = 'https://github.com/scikit-maad/scikit-maad',
proyect_urls={'Documentation': 'https://scikit-maad.github.io'},
platform = 'OS Independent',
cmdclass={'clean': CleanCommand},
license_file = 'LICENSE',
python_requires='>=3.6',
install_requires = ['numpy>=1.19',
'scipy>=1.5',
'scikit-image>=0.17',
'pandas>=1.1',
'resampy>=0.2'],
classifiers=textwrap.dedent("""
Development Status :: 4 - Beta
Intended Audience :: Science/Research
License :: OSI Approved :: BSD License
Operating System :: OS Independent
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Topic :: Scientific/Engineering :: Artificial Intelligence
""").strip().splitlines()
)