-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
64 lines (55 loc) · 1.93 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
#!/usr/bin/env python3
"""
Setup script for Sindri.
"""
from pathlib import Path
import setuptools
PROJECT_NAME = "sindri"
with open("README.md", "r", encoding="utf-8") as readme_file:
long_description = readme_file.read()
version = {}
with open(Path("src") / PROJECT_NAME / "_version.py",
"r", encoding="utf-8") as version_file:
exec(version_file.read(), version)
setuptools.setup(
name=PROJECT_NAME,
version=version["__version__"],
author="C.A.M. Gerlach and the HAMMA group",
author_email="[email protected]",
description=("A package for data logging and management "
"of HAMMA lightning sensors."),
long_description=long_description,
long_description_content_type="text/markdown",
keywords="iot lightning sensor remote control research m2m server web",
url="https://www.hamma.dev/",
packages=setuptools.find_packages("src"),
package_dir={"": "src"},
python_requires=">=3.6",
install_requires=[
"lektor>=3.1",
"numpy",
"pandas",
],
entry_points={
"console_scripts": [
f"{PROJECT_NAME}={PROJECT_NAME}.__main__:main"]
},
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Environment :: Web Environment",
"Environment :: No Input/Output (Daemon)",
"Framework :: Lektor",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Scientific/Engineering :: Atmospheric Science",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: System :: Monitoring",
],
)