-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
61 lines (52 loc) · 1.97 KB
/
Copy pathsetup.py
File metadata and controls
61 lines (52 loc) · 1.97 KB
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
#! /opt/conda/bin/python3
""" General PyPI compliant setup.py configuration of the package """
from setuptools import setup, find_packages
version = {}
with open("eventsearch/version.py") as fp:
exec(fp.read(), version)
__author__ = 'Thomas Pircher'
__version__ = version['__version__']
__copyright__ = '2021, FAU-iPAT'
__license__ = 'Apache-2.0' # todo: check if this license is ok
__maintainer__ = 'Thomas Pircher'
__email__ = 'thomas.pircher@fau.de'
__status__ = 'Development'
with open('requirements.txt') as f:
requirements = f.read().splitlines()
def get_readme():
"""
Method to read the README.rst file
:return: string containing README.md file
"""
with open('README.md') as file:
return file.read()
# ------------------------------------------------------------------------------
# Call setup method to define this package
# ------------------------------------------------------------------------------
setup(
name='eventsearch',
version=__version__,
author=__author__,
author_email=__email__,
description='eventsearch is a python package for detection spontaneous events in time series.',
long_description=get_readme(),
url='https://github.com/digusil/eventsearch', # todo: set package url
license=__license__,
keywords=['eventsearch', 'spontaneous event detection'],
packages=find_packages(),
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Mathematics"
],
python_requires='>=3.7',
install_requires=requirements,
zip_safe=False
)