-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
70 lines (62 loc) · 1.81 KB
/
setup.py
File metadata and controls
70 lines (62 loc) · 1.81 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
62
63
64
65
66
67
68
69
70
import io
import re
from setuptools import find_packages, setup
dev_requirements = [
"flake8==3.8.3",
"flake8==3.8.3",
"black==22.1.0",
"pytest==6.2.5",
"pytest-flake8==1.0.7",
"pytest-cov==2.8.1",
"pytest-mypy>=0.8.0",
"click==8.0.4",
"opencv-python==4.5.5.64",
"picamera==1.13",
]
unit_test_requirements = dev_requirements
integration_test_requirements = dev_requirements
run_requirements = [
"picamera==1.13",
"click==8.0.4",
"opencv-python==4.5.5.64",
]
with io.open("./camocchi/version.py", encoding="utf8") as version_f:
version_match = re.search(
r"^__version__ = ['\"]([^'\"]*)['\"]", version_f.read(), re.M
)
if version_match:
version = version_match.group(1)
else:
raise RuntimeError("Unable to find version string.")
with io.open("README.md", encoding="utf8") as readme:
long_description = readme.read()
setup(
name="camocchi",
version=version,
author="Occhi Project",
author_email="matheusgoisv@gmail.com",
packages=find_packages(exclude="tests"),
include_package_data=True,
url="https://github.com/PI2-Grupo12/firmware",
license="COPYRIGHT",
description="Adicione uma descricao para o seu projeto",
long_description=long_description,
zip_safe=False,
install_requires=run_requirements,
extras_require={
"dev": dev_requirements,
"unit": unit_test_requirements,
"integration": integration_test_requirements,
},
python_requires=">=3.6",
classifiers=[
"Intended Audience :: Information Technology",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.6",
],
keywords=(),
entry_points={
"console_scripts": ["camocchi = camocchi.cli:main"],
},
)