-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
47 lines (33 loc) · 1.08 KB
/
setup.py
File metadata and controls
47 lines (33 loc) · 1.08 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
#!/usr/bin/env python
from setuptools import setup, find_packages
from subprocess import check_output
def setup_package():
# Determine package version from git
version = check_output("git describe --tags --dirty".split()).decode('utf-8').strip()
setup(
# ----------------------------------- PACKAGE METADATA ----------------------------------- #
name="tello",
version=version,
author="Libor Novak",
author_email="libornovax@gmail.com",
# --------------------------------- PACKAGE DEPENDENCIES --------------------------------- #
install_requires=[
"numpy",
"opencv-python",
"pynput",
],
setup_requires=[
"pytest-runner",
],
tests_require=[
"pytest",
"pytest-cov",
],
# ----------------------------------- PACKAGE CONTENTS ----------------------------------- #
packages=find_packages("src"),
package_dir={
"": "src"
}
)
if __name__ == "__main__":
setup_package()