kopia lustrzana https://github.com/micropython/micropython-lib
make_metadata: Support multi-level packages.
Need to split off last component, tested with uasyncio.websocket.server.pull/261/head
rodzic
bf8eef9d9e
commit
c3cded0134
|
@ -161,7 +161,7 @@ def main():
|
|||
else:
|
||||
data["long_desc"] = repr(data["long_desc"])
|
||||
|
||||
data["modules"] = "'" + data["name"].split(".", 1)[0] + "'"
|
||||
data["modules"] = "'" + data["name"].rsplit(".", 1)[0] + "'"
|
||||
if "extra_modules" in data:
|
||||
data["modules"] += ", " + ", ".join(["'" + x.strip() + "'" for x in data["extra_modules"].split(",")])
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue