The circup freeze
command will output the current libraries installed on the connected device. It outputs each library and the current version loaded.
This is helpful for sharing a list of a requirements for your project to another person or another device.
$ circup freeze --help Usage: circup freeze [OPTIONS] Output details of all the modules found on the connected CIRCUITPYTHON device. Option -r saves output to requirements.txt file Options: -r, --requirement --help Show this message and exit.
Options Details
The --help
flag will print out the built-in documentation information.
The -r
, or --requirement
flag will cause the output to be written into a requirements.txt file instead of being printed to the terminal.
$ circup freeze $ circup freeze -r $ circup freeze --requirement $ circup --host 192.168.1.188 --password Passw0rd freeze $ circup --path mock_device/ freeze $ circup --path cool_project/ --cpy-version 9.0.0 --board-id pygamer freeze
$ circup freeze Found device at /media/myusername/CIRCUITPY, running CircuitPython 9.0.5. adafruit_connection_manager==1.0.1 adafruit_ntp==3.0.13 adafruit_datetime==1.2.7 adafruit_debouncer==2.0.8 adafruit_ticks==1.0.13 adafruit_wave==0.0.3 adafruit_bme680==3.7.4 adafruit_bitmap_font==2.0.2 adafruit_display_text==3.1.0 adafruit_minimqtt==7.6.3 adafruit_io==5.8.2 adafruit_httpserver==4.5.6 adafruit_bus_device==5.2.8 asyncio==1.3.1 adafruit_imageload==1.20.2 adafruit_register==1.9.18
Text editor powered by tinymce.