-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
48 lines (37 loc) · 1.17 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
##### Sensemore Wired Sensor Python Interface #######
#Required packages
# SMComPy
from setuptools import setup,find_packages
with open("README.md", "r", encoding="utf-8") as f:
long_description = f.read()
with open("./src/sensemore/SMWiredPy.py", "r", encoding="utf-8") as f:
exec(f.readline()) # First line is version, so get it and execute it
version = __version__ # Get the version
setup(
name="SMWiredPy",
version=version,
author="sensemore",
author_email="hello@sensemore.io",
url="https://www.sensemore.io",
description="Sensemore Wired Python Interface",
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
python_requires=">=3.6",
package_dir={"": "src"},
packages=find_packages(where="src"),
install_requires=[
"pyserial==3.5",
"pybind11==2.7.0",
"SMComPy",
],
setup_requires=[
"setuptools>=42",
"wheel",
],
keywords="SMCom, sensemore, wired accelerometer,accelerometer sensor, python accelerometer sensor",
project_urls={ # Optional
'Bug Reports': 'https://github.com/sensemore/SMWiredPy/issues',
'Source': 'https://github.com/sensemore/SMWiredPy',
},
)