-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·60 lines (48 loc) · 1.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
#! /usr/bin/env python3
# Copyright (C) 2019-21 Freie Universität Berlin
#
# Distributed under terms of the MIT license.
from setuptools import setup, find_packages
name = "iotlab_controller"
version = "0.8.1b"
description = "Python-based controller for IoT-LAB experiments"
author = "Martine Lenders"
author_email = "m.lenders@fu-berlin.de"
url = "https://github.com/miri64/iotlab_controller"
def get_requirements():
with open("requirements.txt") as req_file:
for line in req_file:
yield line.strip()
extras_require = {
"networked": ["networkx>=2.2"],
"tmux": ["libtmux<0.11"],
"all": []
}
for k, v in extras_require.items():
if k.startswith("k") or (k in ["all"]):
continue
extras_require["all"].extend(v)
setup(
name=name,
version=version,
description=description,
packages=find_packages(exclude=("tests",)),
author=author,
author_email=author_email,
url=url,
keywords=["iotlab", "iot", "experimentation"],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
],
install_requires=list(get_requirements()),
extras_require=extras_require,
python_requires=">=3.7",
)