collections: Rename collections.* to collections-*.

This is to match the convention for naming "extension" packages.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
pull/537/head
Jim Mussared 2022-09-12 14:38:52 +10:00
rodzic c262628a41
commit f1039fd2f2
6 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -2,4 +2,5 @@ metadata(version="0.3")
# Originally written by Paul Sokolovsky.
require("collections")
package("collections")

Wyświetl plik

@ -1,3 +1,4 @@
metadata(version="0.1.3")
require("collections")
package("collections")

Wyświetl plik

@ -1,9 +1,7 @@
# Should be reimplemented for MicroPython
# Reason:
# CPython implementation brings in metaclasses and other bloat.
# This is going to be just import-all for other modules in a namespace package
# Replace built-in collections module.
from ucollections import *
# Provide optional dependencies (which may be installed separately).
try:
from .defaultdict import defaultdict
except ImportError: