circup 2.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- circup/__init__.py +26 -0
- circup/backends.py +957 -0
- circup/bundle.py +170 -0
- circup/command_utils.py +627 -0
- circup/commands.py +723 -0
- circup/config/bundle_config.json +5 -0
- circup/config/bundle_config.json.license +3 -0
- circup/logging.py +33 -0
- circup/module.py +209 -0
- circup/shared.py +218 -0
- circup-2.0.1.dist-info/LICENSE +21 -0
- circup-2.0.1.dist-info/METADATA +357 -0
- circup-2.0.1.dist-info/RECORD +16 -0
- circup-2.0.1.dist-info/WHEEL +5 -0
- circup-2.0.1.dist-info/entry_points.txt +2 -0
- circup-2.0.1.dist-info/top_level.txt +1 -0
circup/__init__.py
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2019 Nicholas Tollervey, written for Adafruit Industries
|
|
2
|
+
#
|
|
3
|
+
# SPDX-License-Identifier: MIT
|
|
4
|
+
"""
|
|
5
|
+
CircUp -- a utility to manage and update libraries on a CircuitPython device.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
from circup.shared import DATA_DIR, BAD_FILE_FORMAT, extract_metadata, _get_modules_file
|
|
10
|
+
from circup.backends import WebBackend, DiskBackend
|
|
11
|
+
from circup.logging import logger
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# Useful constants.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
__version__ = "0.0.0-auto.0"
|
|
18
|
+
__repo__ = "https://github.com/adafruit/circup.git"
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
from circup.commands import *
|
|
22
|
+
|
|
23
|
+
# Allows execution via `python -m circup ...`
|
|
24
|
+
# pylint: disable=no-value-for-parameter
|
|
25
|
+
if __name__ == "__main__": # pragma: no cover
|
|
26
|
+
main()
|