-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
41 lines (38 loc) · 1.27 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
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# Author: i2cy(i2cy@outlook.com)
# Project: CH347PythonLib
# Filename: setup
# Created on: 2022/11/22
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="ch347api",
version="0.3.1",
author="I2cy Cloud",
author_email="i2cy@outlook.com",
description="A Python Library provides full access of SPI/I2C/UART settings and communication"
" with CH347 USB-SPI/I2C/UART bridge chip in Python language.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/i2cy/ch347-hidapi",
project_urls={
"Bug Tracker": "https://github.com/i2cy/ch347-hidapi/issues",
"Source Code": "https://github.com/i2cy/ch347-hidapi",
"Documentation": "https://github.com/i2cy/CH347-HIDAPI/blob/master/README.md"
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=[
'hidapi'
],
packages=setuptools.find_packages(),
python_requires=">=3.7",
entry_points={'console_scripts':
[]
}
)