Skip to main content

Scripts for installing duino libraries.

Project description

duino

Collection of Arduino libraries and related utilites

Repo Description Status
duino This repository
duino_bus Bus/Packet interface for communicating with Arduino devices
duino_cli Command Line Interface for Arduino Projects
duino_led Some LED Abstractions
duino_littlefs A CLI Plugin for LittleFS filesystems
duino_log A logging abstraction
duino_makefile Common Makefile rules
duino_util Common Utility functions
duino_vscode_settings Generate VSCode c_cpp_properties.json file

This is my collection of Arduino libraries. Much of the code is portable and can work in other environments. Some of the libraries also include python code to allow a host to interact with an Arduino board.

This page has links to all of the other repositories and contains some scripts for installing all of the libraries.

Under Windows, add the Python Scripts directory into your PATH

To determine where the scripts directory is located, do the following:

python -m site

This will print something like the following:

PS C:\Users\dhyla> python -m site
sys.path = [
    'C:\\Users\\dhyla',
    'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\\python39.zip',
    'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\\DLLs',
    'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\\lib',
    'C:\\Users\\dhyla\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0',
    'C:\\Users\\dhyla\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python39\\site-packages',
    'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0',
    'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\\lib\\site-packages',
]
USER_BASE: 'C:\\Users\\dhyla\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\LocalCache\\local-packages' (exists)
USER_SITE: 'C:\\Users\\dhyla\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python39\\site-packages' (exists)
ENABLE_USER_SITE: True

Find the entry that's in C:\Users and ends in site-packages. Try replacing site-packages with Scripts.

If you see something like the following, then that should be the correct directory.

PS C:\Users\dhyla> dir C:\\Users\\dhyla\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python39\\Scripts


    Directory: C:\Users\dhyla\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Scripts


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----        2024-11-23  11:06 PM         106422 pip.exe
-a----        2024-11-23  11:06 PM         106422 pip3.9.exe
-a----        2024-11-23  11:06 PM         106422 pip3.exe

Add the Scripts directory to your PATH (aka Path). See this article for a step-by-step guide on adding a directory to your PATH. You'll probably need to reboot to have the updated PATH take effect.

Installing duino from zip files

To install the duino libraries from zip files, start a shell and and cd into your Arduino directory (the directory that holds the sketches and has the libraries directory) and execute:

pip install duino
install-duino-from-zip

pip install puts the install-duino-from-zip program into your Scripts directory, so ensure that it's in your PATH.

Installing duino from git

To git clone all of the git repos, start a shell and cd into your Arduino directory (the directory that holds the sketches and has the libraries directory) and execute:

pip install duino
install-duino-from-git

pip install puts the install-duino-from-git program into your Scripts directory, so ensure that it's in your PATH.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

duino-0.0.1.tar.gz (6.4 kB view details)

Uploaded Source

File details

Details for the file duino-0.0.1.tar.gz.

File metadata

  • Download URL: duino-0.0.1.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for duino-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3249faf4861bc4e1829bc2d7a68e63bc1572526ef7210ce035da8068942dd8a5
MD5 a7fbe3de3a279c9c808ce690a6f271b3
BLAKE2b-256 4397c7c07fabff416d82ca27c6a4700c833cad978fd91ac1dd0342f0f9837899

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page