I installed picoweb package to sd card. i just copyed files from github to sd card.
but i can access to this package only in directory where is my package
i want to make package global
also i found sdist_upip.py and setup.py files. what they are doing?
i think that i installed packages incorrectly, help!
how to install packages correctly(without upip,manually)
-
- Posts: 11
- Joined: Sat Apr 20, 2019 8:44 am
Re: how to install packages correctly(without upip,manually)
I can't speak to picoweb or upip, but seeing as you asked about installing things manually: you can append additional paths to find modules to sys.path.
See https://docs.micropython.org/en/latest/ ... l#sys.path
See https://docs.micropython.org/en/latest/ ... l#sys.path
-
- Posts: 11
- Joined: Sat Apr 20, 2019 8:44 am
Re: how to install packages correctly(without upip,manually)
thank you, it works well
but i dont understand what sdist_upip.py and setup.py files are doing
but i dont understand what sdist_upip.py and setup.py files are doing