pip install library_name -t /volumes/CircuitPython/lib/ installs blinka and core modules
- Dominant language
- Python
- Stars
- 172
- Forks
- 41
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 1
Description
No good to place to open this really, so putting in circup for discussion.
Now that all libraries are available on PyPi, you can install libraries with pip.
ex: `pip install adafruit_circuitpython -t /volumes/CircuitPython/lib/`
Issues with this :
1. You don't get the .mpy version
2. You also get Blinka and core modules
I believe this was done to support Thonny.
Dos Thonny also install the .py version? Does it ignore the Blinka dependencies (like circup does)?
```bash
pip install adafruit_circuitpython_requests -t /Volumes/CIRCUITPY/lib/
Collecting adafruit_circuitpython_requests
Using cached adafruit-circuitpython-requests-1.12.4.tar.gz (42 kB)
Preparing metadata (setup.py) ... done
Collecting Adafruit-Blinka
Using cached Adafruit-Blinka-8.1.0.tar.gz (190 kB)
Preparing metadata (setup.py) ... done
Collecting Adafruit-PlatformDetect>=3.13.0
Using cached Adafruit-PlatformDetect-3.26.0.tar.gz (40 kB)
Preparing metadata (setup.py) ... done
Collecting Adafruit-PureIO>=1.1.7
Using cached Adafruit_PureIO-1.1.9-py3-none-any.whl
Collecting pyftdi>=0.40.0
Using cached pyftdi-0.54.0-py3-none-any.whl (144 kB)
Collecting adafruit-circuitpython-typing
Using cached adafruit_circuitpython_typing-1.7.1-py3-none-any.whl
Collecting pyserial>=3.0
Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
Collecting pyusb!=1.2.0,>=1.0.0
Using cached pyusb-1.2.1-py3-none-any.whl (58 kB)
Collecting adafruit-circuitpython-busdevice
Using cached adafruit_circuitpython_busdevice-5.1.10-py3-none-any.whl
Using legacy 'setup.py install' for adafruit_circuitpython_requests, since package 'wheel' is not installed.
Using legacy 'setup.py install' for Adafruit-Blinka, since package 'wheel' is not installed.
Using legacy 'setup.py install' for Adafruit-PlatformDetect, since package 'wheel' is not installed.
Installing collected packages: pyserial, pyusb, Adafruit-PureIO, Adafruit-PlatformDetect, pyftdi, adafruit-circuitpython-busdevice, adafruit-circuitpython-typing, Adafruit-Blinka, adafruit_circuitpython_requests
Running setup.py install for Adafruit-PlatformDetect ... done
Running setup.py install for Adafruit-Blinka ... done
Running setup.py install for adafruit_circuitpython_requests ... done
Successfully installed Adafruit-Blinka-8.1.0 Adafruit-PlatformDetect-3.26.0 Adafruit-PureIO-1.1.9 adafruit-circuitpython-busdevice-5.1.10 adafruit-circuitpython-typing-1.7.1 adafruit_circuitpython_requests-1.12.4 pyftdi-0.54.0 pyserial-3.5 pyusb-1.2.1
ls /Volumes/CIRCUITPY/lib
Adafruit_Blinka-8.1.0-py3.9.egg-info circuitpython_typing
Adafruit_PlatformDetect-3.26.0-py3.9.egg-info digitalio.py
Adafruit_PureIO keypad.py
Adafruit_PureIO-1.1.9.dist-info microcontroller
__pycache__ micropython.py
adafruit_blinka neopixel_write.py
adafruit_bus_device onewireio.py
adafruit_circuitpython_busdevice-5.1.10.dist-info pulseio.py
adafruit_circuitpython_requests-1.12.4-py3.9.egg-info pwmio.py
adafruit_circuitpython_typing-1.7.1.dist-info pyftdi
adafruit_platformdetect pyftdi-0.54.0.dist-info
adafruit_requests.py pyserial-3.5.dist-info
analogio.py pyusb-1.2.1.dist-info
bin rainbowio.py
bitbangio.py serial
board.py usb
busio.py usb_hid.py
```
Contributor guide
Research direction
Reproduce the documented `pip install adafruit_circuitpython_requests -t /Volumes/CIRCUITPY/lib/` command and inspect the resulting files listed in the issue. Determine whether Thonny and circup treat `.py`, `.mpy`, Blinka, and core modules differently; done means the expected installation behavior and an actionable change are clearly defined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100