/conan_explorer

GUI for Conan users providing an easy way to install and manage local packages and launch application from them.

Primary LanguagePythonGNU Lesser General Public License v3.0LGPL-3.0

Conan Explorer: Local Package Explorer and App Launcher

https://pypi.org/project/conan-explorer/ PyPI Python versions Windows Linux MilestoneProgress Python Tests SonarStatus Downloads

πŸ›ˆ conan-app-launcher is now conan-explorer πŸš€

This package has been renamed from version 2.2.0 onwards. Use pip install conan-explorer instead.

New package: https://pypi.org/project/conan-explorer/

πŸ“‹ Quick Overview

The goal of this project is to provide a standalone Graphical User Interface (GUI) to

  • Start executables contained in packages of the package manager Conan
  • Browse the local package cache
  • Search Packages in remotes
  • Configure Remotes and Profiles

It is end-user oriented and focuses on using packages, rather then developing them. It can be used on Windows and Linux x64 platforms.

Quicklaunch for Applications in Conan Packages

Local Package Manager

Conan Search

Conan Config

Main Features

  • compatible with a wide range of conan versions (from 1.24 onwards)
  • integrated console for information an packages and config file
  • installable with pip

πŸ“‘ Quicklaunch

  • configurable layout (tabs and applications) in the GUI
  • list and grid view
  • can also open files with their associated default program
  • installs all referenced packages automatically
  • automatic conan settings resolution for your platform
  • uses the default icons of files or can be configured to use custom ones
  • quick controls to switch between versions and channels

πŸ“¦ Local Package Explorer

  • tabbed view for browsing through installed packages
  • understand package settings at a glance from a shortened representation, e.g. Linux_x64_ggc7
  • supports rename/copy/cut/paste on file, open in file explorer, copy reference, etc. functions which are often needed in daily Conan workflow

πŸ” Conan Search

  • search for references in selected remotes
  • show all existing packages for a reference and their infos
  • install package directly via right-click menu

πŸ“ Conan Config

  • view and edit your profiles
  • view and edit your remotes - with multi-login to the same artifactory server for multiple remotes
  • see the most important paths and config at one glance

πŸ”Œ Plugin Mechanism

  • All views are now plugins, which can be extended by the user

πŸ’» Installation

🐧 Prerequisites on Linux

Currently testing and compatibility is only ensured for Debian based distros, see the section distros, although if Qt6 is working for the plaftorm there should be no problems.

  1. Pip must be updated to at least pip 20.3, so using a venv like this is recommended:
sudo apt-get install python3-venv
python3 -m venv .venv 
source .venv/bin/activate
python3 -m pip install --upgrade pip
pip3 install conan_explorer --use-pep517
  1. An x-terminal emulator must be available for "Open Files in cmd" and console based programs for the App Grid. Type x-terminal-emulator to get a list of available terminals.

  2. To open files with its associated program xdg-open is used: sudo apt install xdg-utils or sudo dnf install xdg-utils

Distros

Debian Ubuntu Fedora

Not all Qt6 versions support the Wayland lib of the operating system. Generally the solution is to match the qt6 platform packages to the ones deployed with Pyside6. Minor version match is enough, because patch versions are ABI compatible.

  • Ubuntu 18 was last supported in the 1.4.3 release, due to the Qt dependency. Recompiling Qt6 would be necessary.
  • For Ubuntu 20.04 please execute pip install PySide6-Essentials==6.4.3 in the same environment as conan_explorer and update pip to latest version!
  • For Ubuntu 22.04 please ensure that the system Qt6 packages are available. Simply execute sudo apt-get install qt6-wayland on a wayland system, or sudo apt-get install qt6-base-dev for an X11 based system.
  • For Ubuntu 24.04 the wayland platform is currently unknown how to get work with PySide6. To force X11 mode on wayland start it with --platform=xbc and make sure "libxcb-cursor0" is installed.
  • Fedora 28 (base for RedHat 8.4) - No information
  • Fedora 34 (base for RedHat 9.4) and Fedora 40 - runs natively on X11 and wayland without problems with a desktop environment.

Scaling on X11

If the window displays with very small scaling you can increase it by setting the environment variable QT_SCALE_FACTOR to a higher value, e.g. QT_SCALE_FACTOR=2 conan_explorer

With pip from PyPi

pip install conan-explorer --use-pep517

From source

After checkout use the command:

pip install . --use-pep517

πŸƒ Running

Execute conan_explorer if the Python "scripts" or "bin" folder is on your system path, or look it up manually in the site-packages folder. You can also assign its icon to it from the site packages folder in conan_explorer/assets/icons/icon.ico.

Main dependencies

  • Pyside6 >= 6.4.3
  • 1.48.0 <= conan < 2.8

⚠ Warning - Deprecation of Python 3.X
From version 2.0.0 Python 3.6 support will be dropped, having reached end-of-life.
From version 2.2.0 Python 3.7 support will be dropped, having reached end-of-life.

πŸ›  Toolchain

Visual Studio Code

This project uses Python with Qt as a frontend using the PySide6 integration. An IDE configuration is available for VsCode.

The .ui files are created with Qt Designer and automatically converted to .py code when starting the application. The Designer can be installed via the PySide6-Addons pip package.

See https://sonarcloud.io/project/overview?id=goszpeti_conan_explorer for Static Code Analysis.

πŸ“’ Licenses of used libraries and code

Warning - Change of License to LGPL From version 2.0.0 the project will use the LGPL 3.0 license to cleanly comply with PySide6.

Resources

PyPi runtime dependencies
PyPi backports for older Python versions