-
Notifications
You must be signed in to change notification settings - Fork 1k
Meta-package to install entire stdlib #47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
By 'stdlib' do you mean all of the packages in micropython-lib? If so, then OTOH, if stdlib is a subset of micropython-lib, then it would be easy to imagine other subsets being defined. Maybe 'group'? Then we could define There may be a better name than 'group', but it is the first thing that came to my mind. |
No, because micropython-lib contains extra modules beyond Python standard library, such wouldn't be included. An example is recently added "xmltok" module. And "uasyncio" is a grey area, because it's not 100% compatible, and yet directly corresponds to similar module in CPython. (And the above is just my current idea how to do it, if for example a lot of software will depend on xmltok and it will be a chore for users to install separately, it can be included too).
So, the focus is really on "stdlib", not on "micropython-lib", the latter being just a name of project/repository. The idea is to give users something as close as possible to CPython environment, as easily as possible (and nevermind that it's still not exactly CPython env, the subset is already pretty big and useful).
I personally don't imagine any other cross-package subsets like that defined. micropython-lib is 95% stdlib, and the rest is just few by-exception modules which provide very stdlib-like functionality, so there were let in, to not create separate repo for each. Those will remain few and exceptions. Well, actually, there're such groups can be imagined. It's a meta-package for installing modules which form complete package. For example, there's currently micropython-collections.defaultdict, micropython-collections.deque, etc. There's also micropython-collections which makes individual submodules to be accessible under "collections" package. There could be micropython-collections-all which would just install complete "collections" package, with all submodules. But well, I'd say that |
|
Over the last 8+ years there has been no motion on a metapackage for micropython-lib. Proposing to close this issue as not-planned. |
We do now have the concept of a package "bundle", and there's |
It would be nice to create "meta" package to let people install entire stdlib in "one go" - it would be devoid of actual Python source, but depend on all other packages belonging to stdlib.
This probably will requires some experimenting to get it right, but otherwise the biggest issue is how to name such module. Choices are:
Any opinions/other naming ideas?
The text was updated successfully, but these errors were encountered: