-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathsetup.py
50 lines (45 loc) · 1.56 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
"""Setup script for matrix-webcam"""
import platform
import pathlib
from setuptools import setup
# The directory containing this file
HERE = pathlib.Path(__file__).resolve().parent
# The text of the README file is used as a description
README = (HERE / "README.md").read_text()
LICENSE = (HERE / "LICENSE").read_text()
# This call to setup() does all the work
setup(
name="matrix-webcam",
version="0.4.2",
description="Displays your webcam video feed in the console.",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/joschuck/matrix-webcam",
author="Johannes Schuck",
author_email="jojoschuck@gmail.com",
license=LICENSE,
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
],
packages=["matrix_webcam"],
include_package_data=True,
install_requires=[
"numpy~=1.20",
"opencv-contrib-python~=4.5.4", # pylint goes bananas with 4.6.xxx
"windows-curses~=2.3; platform_system == 'Windows'",
]
+ (
["mediapipe-silicon~=0.8"]
if platform.system() == "Darwin" and platform.machine() == "arm64"
else ["mediapipe~=0.8"]
),
extras_require={
"dev": ["pre-commit", "pylint", "black~=22.3.0", "mypy"],
"deploy": ["wheel", "twine", "build", "setuptools"],
# python -m build
},
keywords="matrix webcam opencv skype",
entry_points={"console_scripts": ["matrix-webcam=matrix_webcam.__main__:main"]},
)