Skip to content

Commit 38ef35e

Browse files
committed
Remove C library from install, update README.
1 parent 3382553 commit 38ef35e

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,10 @@ Loading/Unloading Bus Kernel Modules
161161

162162
System info
163163
-----------
164-
Information about the device, including CPU, RAM, etc., is currently retrieved via several modules including a C library compiled for the Raspberry Pi, though that will be changed to a Python only implementation in the future. To support a different board you may need to update the agent code for the following items, if applicable:
164+
Information about the device, including CPU, RAM, etc., is currently retrieved via a few different modules. To support a different board you may need to update the agent code for the following items, if applicable:
165165

166166
General System Info
167-
General system info, including CPU, RAM, memory, etc. is retrieved via ``myDevices.os.systeminfo.py`` This is mostly implemented via a C library for the Raspberry Pi, though that will be changed to a Python only implementation in the future. If the C library doesn't work on your device you can disable the C library call until the Python implementation is available at which point you can modify it to support your board.
167+
General system info, including CPU, RAM, memory, etc. is retrieved via ``myDevices.os.systeminfo.py`` and ``myDevices.os.cpu.py``. These are mostly implemented using cross platform libraries so they may already provide support for your board. If not, they should be modified or overridden to provide the appropriate system info. If your board does not support all the data values currently implemented you can just provide default values where necessary, though this may affect the data display in the Cayenne dashboard.
168168

169169
Hardware Info
170170
Hardware info, including make, model, etc. is retrieved via ``myDevices.cloud.vcom_id.py``. This should be modified or overridden to provide the appropriate hardware info for your board.

libs/libSystemInformation.so

-32.3 KB
Binary file not shown.

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@
3939
url = 'https://www.mydevices.com/',
4040
classifiers = classifiers,
4141
packages = ["myDevices", "myDevices.ipgetter", "myDevices.cloud", "myDevices.utils", "myDevices.os", "myDevices.sensors" , "myDevices.wifi", "myDevices.schedule", "myDevices.requests_futures", "myDevices.devices", "myDevices.devices.analog", "myDevices.devices.digital", "myDevices.devices.sensor", "myDevices.devices.shield", "myDevices.decorators"],
42-
install_requires = ['enum34', 'iwlib', 'jsonpickle', 'netifaces', 'psutil >= 0.6.0', 'requests'],
43-
data_files = [('/etc/myDevices/libs', ['libs/libSystemInformation.so']),
44-
('/etc/myDevices/scripts', ['scripts/config.sh'])]
42+
install_requires = ['enum34', 'iwlib', 'jsonpickle', 'netifaces', 'psutil >= 0.7.0', 'requests'],
43+
data_files = [('/etc/myDevices/scripts', ['scripts/config.sh'])]
4544
)
4645

4746
os.chmod('/etc/myDevices/scripts/config.sh', 0o0755)

0 commit comments

Comments
 (0)