-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
66 lines (60 loc) · 2.03 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
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (c) 2019-2024 NITK Surathkal
import pathlib
import sys
from setuptools import setup, find_packages
here = pathlib.Path(__file__).parent.resolve()
# Get version
version = {}
with open("nest/version.py") as fp:
exec(fp.read(), version)
# Get the long description from the README file
long_description = (here / "README.md").read_text(encoding="utf-8")
# Check for pip versions below 9.0.0
if sys.version_info < (3, 6) or sys.version_info >= (4, 0):
raise RuntimeError("This package requires Python version >=3.6 and <4")
setup(
name="nest",
version=version["__version__"],
description="NeST: Network Stack Tester",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://nest.nitk.ac.in/",
author="NITK",
author_email="[email protected]",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"Topic :: Education",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
keywords="network, namespace, linux",
packages=find_packages(),
package_data={
"nest.experiment": ["info/README.txt"],
"nest.experiment.parser": ["iterators/*.sh"],
"nest.experiment.plotter": ["seaborn-v0_8-paper.mplstyle"],
"nest": ["config.json"],
},
python_requires=">=3.6, <4",
install_requires=[
"matplotlib",
"numpy",
"packaging",
"tqdm",
"aiocoap",
"colorama",
],
project_urls={
"Source": "https://gitlab.com/nitk-nest/nest",
},
)