-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsetup.py
More file actions
79 lines (60 loc) · 2.38 KB
/
setup.py
File metadata and controls
79 lines (60 loc) · 2.38 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
71
72
73
74
75
76
77
78
79
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# This is a python install script written for camera python package.
from pathlib import Path
from setuptools import setup
HERE = Path(__file__).resolve().parent
about = {}
exec((HERE / "camera" / "__version__.py").read_text(encoding="utf-8"), about)
PACKAGE_VERSION = about["__version__"]
long_description = (HERE / "README.rst").read_text(encoding="utf-8")
setup(
name='camera-util',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# http://packaging.python.org/en/latest/tutorial.html#version
version=PACKAGE_VERSION,
description=("Python wrapper for USB, spin, Raspi, Jetson Nano cameras. "
"Works on Windows, Raspian (incl Bullseye), JetsonNano, MacOS"),
# The project's main homepage.
url='https://github.com/uutzinger/camera',
#use_scm_version={
# # This is needed for the PyPI version munging in the Github Actions release.yml
# "git_describe_command": "git describe --tags --long",
# "local_scheme": "no-local-version",
#},
#setup_requires=["setuptools_scm"],
long_description=long_description,
long_description_content_type="text/x-rst",
# Author details
author='Urs Utzinger',
author_email='uutzinger@gmail.com',
#install_requires=[
# #'opencv-python',
# 'h5py',
# 'tifffile',
# 'numpy'
#],
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Multimedia :: Video :: Capture',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
# 'Programming Language :: Python :: 3',
],
# What does your project relate to?
keywords='camera, driver, opencv, spin',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=["camera", "camera.capture", "camera.streamer", "camera.processor"],
)