You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proposed option to the install command circup install adafruit_ble_broadcastnet --pypi
Proposed Behavior
This is only for install command only:
If --pypi option is specified, also pip3 install {pypi_name} the library as specified in the bundle.json
If No pypi library is available, report a warning, but complete all other actions
Notes
I was playing around with the autocomplete\stubs functionality in VSCode's Pylance, and if you pip install the CPython version of a CP package, VS Code will pickup that up and and not give a reportMissingImports error.
Also required:
Install Python Extension (which includes Pylance)
Set python.analysis.stubPath to site packages for your python environment. ex for Pyenv in a cp_base virtualenv on MacOS: /Users/username/.pyenv/versions/cp_base/lib/python3.9/site-packages/
askpatrickw
changed the title
When installing a library, also support installing the PYPI version on the dev workstation
Installing the PYPI version of library locally when installing CP version
Feb 3, 2022
askpatrickw
changed the title
Installing the PYPI version of library locally when installing CP version
Install the PYPI version of library locally when installing CP version
Feb 3, 2022
Proposed option to the install command
circup install adafruit_ble_broadcastnet --pypi
Proposed Behavior
This is only for install command only:
--pypi
option is specified, alsopip3 install {pypi_name}
the library as specified in the bundle.jsonNotes
I was playing around with the autocomplete\stubs functionality in VSCode's Pylance, and if you pip install the CPython version of a CP package, VS Code will pickup that up and and not give a reportMissingImports error.
Also required:
/Users/username/.pyenv/versions/cp_base/lib/python3.9/site-packages/
Update learn guide if implemented Welcome To CP
The text was updated successfully, but these errors were encountered: