Sat, 26 Apr 2025 12:34:32 +0200
MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>VirtualenvConfigurationDialog</class> <widget class="QDialog" name="VirtualenvConfigurationDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>700</width> <height>574</height> </rect> </property> <property name="windowTitle"> <string>Virtual Environment Configuration</string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QGroupBox" name="groupBox_3"> <property name="title"> <string>Environment Creator</string> </property> <layout class="QGridLayout" name="gridLayout_3"> <item row="1" column="0"> <widget class="QRadioButton" name="pyvenvButton"> <property name="toolTip"> <string>Select to use 'python -m venv'</string> </property> <property name="text"> <string notr="true">0.0</string> </property> </widget> </item> <item row="0" column="1"> <spacer name="horizontalSpacer_2"> <property name="orientation"> <enum>Qt::Orientation::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item row="0" column="0"> <widget class="QRadioButton" name="virtualenvButton"> <property name="toolTip"> <string>Select to use 'virtualenv'</string> </property> <property name="text"> <string notr="true">0.0</string> </property> </widget> </item> </layout> </widget> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <widget class="QLabel" name="label_2"> <property name="text"> <string>Logical Name:</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="nameEdit"> <property name="toolTip"> <string>Enter a unique name for the virtual environment</string> </property> <property name="placeholderText"> <string>Name for the virtual environment</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> </layout> </item> <item> <widget class="QGroupBox" name="groupBox"> <property name="title"> <string>Paths</string> </property> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> <widget class="QLabel" name="label"> <property name="text"> <string>Target Directory:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="EricPathPicker" name="targetDirectoryPicker" native="true"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="focusPolicy"> <enum>Qt::FocusPolicy::WheelFocus</enum> </property> <property name="toolTip"> <string>Enter the target directory for the virtual environment</string> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="extraSearchPathLabel"> <property name="text"> <string>Extra Search Path:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="EricPathPicker" name="extraSearchPathPicker" native="true"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="focusPolicy"> <enum>Qt::FocusPolicy::WheelFocus</enum> </property> <property name="toolTip"> <string>Enter the extra search path to look for setuptools/pip</string> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="promptPrefixLabel"> <property name="text"> <string>Prompt Prefix:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QLineEdit" name="promptPrefixEdit"> <property name="toolTip"> <string>Enter the prompt prefix for the virtual environment</string> </property> <property name="placeholderText"> <string>Prompt prefix for the virtual environment</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> <item row="3" column="0"> <widget class="QLabel" name="label_5"> <property name="text"> <string>Python Executable:</string> </property> </widget> </item> <item row="3" column="1"> <widget class="EricPathPicker" name="pythonExecPicker" native="true"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="focusPolicy"> <enum>Qt::FocusPolicy::WheelFocus</enum> </property> <property name="toolTip"> <string>Enter the Python interpreter for the virtual environment</string> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_2"> <property name="title"> <string>Options</string> </property> <layout class="QGridLayout" name="gridLayout_2"> <item row="0" column="0"> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> <widget class="QLabel" name="verbosityLabel"> <property name="text"> <string>Verbosity:</string> </property> </widget> </item> <item> <widget class="QSpinBox" name="verbositySpinBox"> <property name="toolTip"> <string>Select the verbosity (-1: quiet, 0: normal, 1: verbose)</string> </property> <property name="alignment"> <set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set> </property> <property name="minimum"> <number>-1</number> </property> <property name="maximum"> <number>1</number> </property> </widget> </item> <item> <spacer name="horizontalSpacer_3"> <property name="orientation"> <enum>Qt::Orientation::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> <item row="0" column="1"> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QLabel" name="versionLabel"> <property name="text"> <string>Python Version:</string> </property> </widget> </item> <item> <widget class="QComboBox" name="versionComboBox"> <property name="toolTip"> <string>Select the Python version (empty for current)</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Orientation::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> <item row="1" column="0"> <widget class="QCheckBox" name="systemCheckBox"> <property name="toolTip"> <string>Select to give the virtualenv access to the global site-packages</string> </property> <property name="text"> <string>System-wide Python Packages</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QCheckBox" name="noWheelCheckBox"> <property name="toolTip"> <string>Select to not install 'wheel' in the new virtualenv</string> </property> <property name="text"> <string>Don't install 'wheel' in the virtualenv</string> </property> </widget> </item> <item row="2" column="0"> <widget class="QCheckBox" name="noSetuptoolsCheckBox"> <property name="toolTip"> <string>Select to not install 'setuptools' in the new virtualenv</string> </property> <property name="text"> <string>Don't install 'setuptools' in the virtualenv</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QCheckBox" name="noPipCcheckBox"> <property name="toolTip"> <string>Select to not install 'pip' in the new virtualenv</string> </property> <property name="text"> <string>Don't install 'pip' in the virtualenv</string> </property> </widget> </item> <item row="3" column="0"> <widget class="QCheckBox" name="clearCheckBox"> <property name="toolTip"> <string>Select to clear the target first</string> </property> <property name="text"> <string>Clear out the target directory</string> </property> </widget> </item> <item row="3" column="1"> <widget class="QCheckBox" name="copyCheckBox"> <property name="toolTip"> <string>Select to always copy files rather than symlinking</string> </property> <property name="text"> <string>Always copy files</string> </property> </widget> </item> <item row="4" column="0"> <widget class="QCheckBox" name="symlinkCheckBox"> <property name="toolTip"> <string>Select to use symlinks instead of copies</string> </property> <property name="text"> <string>Use Symbolic Links</string> </property> </widget> </item> <item row="4" column="1"> <widget class="QCheckBox" name="upgradeCheckBox"> <property name="toolTip"> <string>Select to upgrade a virtual environment</string> </property> <property name="text"> <string>Upgrade</string> </property> </widget> </item> <item row="5" column="0"> <widget class="QCheckBox" name="logCheckBox"> <property name="toolTip"> <string>Select to generate a log file in the target directory</string> </property> <property name="text"> <string>Save a log file in the target directory after creation</string> </property> <property name="checked"> <bool>true</bool> </property> </widget> </item> <item row="5" column="1"> <widget class="QCheckBox" name="scriptCheckBox"> <property name="toolTip"> <string>Select to write a shell script/batch file to regenerate the virtualenv</string> </property> <property name="text"> <string>Save virtualenv generation script</string> </property> <property name="checked"> <bool>true</bool> </property> </widget> </item> <item row="6" column="0"> <widget class="QCheckBox" name="openCheckBox"> <property name="toolTip"> <string>Open the newly created virtualenv in a file manager window</string> </property> <property name="text"> <string>Open target directory after creation</string> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Orientation::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok</set> </property> </widget> </item> </layout> </widget> <customwidgets> <customwidget> <class>EricPathPicker</class> <extends>QWidget</extends> <header>eric7/EricWidgets/EricPathPicker.h</header> <container>1</container> </customwidget> </customwidgets> <tabstops> <tabstop>virtualenvButton</tabstop> <tabstop>pyvenvButton</tabstop> <tabstop>nameEdit</tabstop> <tabstop>targetDirectoryPicker</tabstop> <tabstop>extraSearchPathPicker</tabstop> <tabstop>promptPrefixEdit</tabstop> <tabstop>pythonExecPicker</tabstop> <tabstop>verbositySpinBox</tabstop> <tabstop>versionComboBox</tabstop> <tabstop>systemCheckBox</tabstop> <tabstop>noWheelCheckBox</tabstop> <tabstop>noSetuptoolsCheckBox</tabstop> <tabstop>noPipCcheckBox</tabstop> <tabstop>clearCheckBox</tabstop> <tabstop>copyCheckBox</tabstop> <tabstop>symlinkCheckBox</tabstop> <tabstop>upgradeCheckBox</tabstop> <tabstop>logCheckBox</tabstop> <tabstop>scriptCheckBox</tabstop> <tabstop>openCheckBox</tabstop> </tabstops> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>VirtualenvConfigurationDialog</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>257</x> <y>644</y> </hint> <hint type="destinationlabel"> <x>157</x> <y>274</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>VirtualenvConfigurationDialog</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>325</x> <y>644</y> </hint> <hint type="destinationlabel"> <x>286</x> <y>274</y> </hint> </hints> </connection> </connections> </ui>