-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Here is a guide on how to install the CircuitPython Bundle Manager v2! Ensure that you have at least Python 3.9, it isn't tested against older versions!
I am only able to provide binaries for Windows and Debian - sorry!
- Download a release for Windows.
- Verify the SHA256 of the downloaded zip file! Optional but highly recommended.
- Extract to somewhere convenient. (Like a drive where all your projects go)
- Run the binary inside the folder!
- Create a shortcut to the desktop if you want!
- Download a release for Debian.
- Verify the SHA256 of the downloaded .tar.gz file! Optional but highly recommended.
- Extract to somewhere convenient. (Like the home directory)
- Run the binary inside the folder!
- Create a symlink to the desktop if you want!
-
cd
to somewhere convenient. (Like a drive where all your projects go) - Download the repo
(
git clone https://github.com/UnsignedArduino/CircuitPython-Bundle-Manager-v2
) or if you don't havegit
installed you can download the ZIP version of the repo and extract it to a convenient directory, then open a Command Prompt/PowerShell there. -
cd
into the downloaded repo. - Create a virtual environment. (
python -m venv .venv
) - Activate the virtual environment. (
".venv/Scripts/activate.bat"
for Windows Command Processor,.\.venv\Scripts\Activate.ps1
for PowerShell) - Install the requirements. (
pip install -r requirements.txt
) - Run! (
python main.py
)
Steps 4 and 5 are not required, but highly recommended. (Skip them if you don't know what a virtual environment is)
These instructions have been only tested on Debian + Bash shell. (PRs to fix/add steps for different distros/macOS would be highly appreciated)
-
cd
to somewhere convenient. (Like your home directory) - Download the repo
(
git clone https://github.com/UnsignedArduino/CircuitPython-Bundle-Manager-v2
) or if you don't havegit
installed you can download the ZIP version of the repo and extract it to a convenient directory, then open a terminal there. -
cd
into the downloaded repo. - Create a virtual environment. (
python3 -m venv .venv
) - Activate the virtual environment. (
source .venv/bin/activate
) - Install the requirements. (
pip3 install -r requirements.txt
) - Run! (
python3 main.py
)
Steps 4 and 5 are not required, but highly recommended. (Skip them if you don't know what a virtual environment is)
Follow the instructions to install cryptography
on your machine. Then try step 6 again. Common installation problems are that you have an outdated pip
/pip3
installed. cryptography
will also take a long time to install either way!
GitHub Discussions have been enabled for this repo, please open a new discussion if needed!
First, install the dependencies needed for building from build-requirements.txt
.
On Windows, run build.bat
. On macOS / Linux, run build.sh
.
The results are in dist
.