-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (32 loc) · 1.24 KB
/
setup.py
File metadata and controls
35 lines (32 loc) · 1.24 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
from distutils.core import setup
long_description = """Code Example:
>>> import time
>>> import cv2 as cv
>>> from fake_camera import Fake_Camera # import the class
>>> fake_cam_object = FakeCamera().add_foreground_image(./lena_color.jpg).add_background_image().build() # create an instance of the fake camera class
>>> while True:
snapshot = fake_cam_object.get_snapshot() # get the next fake snapshot from the fake camera
cv.imshow("Moving Image", snapshot)
time.sleep(1/10)
if cv.waitKey(1) & 0xFF == ord("q"):
break
"""
setup(
name = 'fake-camera',
packages = ['fake_camera'],
version = 'v0.9.3-alpha',
license='MIT',
description = 'A Camera Simulator. It creates a moving image in the screen.',
long_description = long_description,
author = 'fjolublar',
url = 'https://github.com/fjolublar/fake_camera',
download_url = 'https://github.com/fjolublar/fake_camera/archive/v0.9.3-alpha.tar.gz',
keywords = ['Fake Camera', 'Moving Image', 'Camera Simulator'],
install_requires=['Pillow', 'numpy'],
classifiers=[
'Development Status :: 3 - Alpha',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.7',
],
)