Skip to main content

App Launcher for quick starting applications with conan

Project description

Conan App Launcher and Local Package Explorer

https://pypi.org/project/conan-app-launcher/ PyPI Python versions MilestoneProgress Python tests Alerts Violations Downloads

Quick Overview

The goal of this project is to provide a frontend to start executables contained in packages of the package manager conan. It now also contains a local package explorer view, which is handy on Windows with short paths.

It is more enduser, then developer oriented and focuses on using packages. It is intended to be used on Windows and Linux x64 platforms.

Features:

  • configurable layout (tabs and applications) in the GUI
  • can also open files with their associated default program
  • installs all referenced packages automatically
  • automatic conan settings resolution for your platform
  • compatible with a wide range of conan versions (from 1.24 onwards)
  • local package explorer for browsing through installed packages
  • integrated console for information an packages and config file
  • installable with pip

How to install?

Prequisites on Linux

Qt for Python must be installed with the native package manager, like:

sudo apt install python3-pyqt5

Ubuntu 16.04 is not supported duw to its native Python 3.5.

With pip from PyPi

pip install conan-app-launcher

From source

After checkout use the command: pip install .

Running

Execute conan-app-launcher, if the Python "scripts" folder is on your system path, or look it up manually in the site-packages folder.

Main dependencies

  • PyQt5 >= 5.13.0
  • conan >= 1.24.0

Config File layout

It is not needed to edit this by hand anymore, since (almost) every option is available in the GUI. The config file uses the following exemplary schema:

{
    "version": "0.3.0",
    "tabs": [
        {
            "name": "Basics",
            "apps": [
                {
                    "name": "App1 with spaces", 
                    "conan_ref": "app1/0.1.0@user1/stable", // full conan reference
                    "package_id": "app1/0.1.0@user1/stable" // DEPRECATED - will converted to conan_ref automatically
                    "executable": "bin/app1", // relative to conan "package folder" - can also be a file to open
                    "icon": "MyIcon.png" // relative to this config file,
                    "console_application": true, // start console application in extra window
                    "args": "--version" // args to start the application with
                },
                {
                    "name": "App2",
                    "conan_ref": "app2/0.2.0@user2/testing",
                    "executable": "bin/app2", // forward slashes are preferred
                    "icon": "C:\\CustomIcon.ico" // but escaped backslashes also work
                }
            ]
        },
        {
            "name": "Extra",
            "apps": [
                {
                    "name": "App3",
                    "conan_ref": "app3/0.3.0@user3/stable",
                    "console_application": true, // starts in a new console window
                    "executable": "bin/app3", // extension (.exe) can be ommited for windows
                    // Icon can be ommitted, then it will try on Windows to use the applications own icon
                }
            ]
        }
    ]
}

Toolchain

This project uses Python with Qt as a frontend using the PyQt integration. IDE configuration is alwaylable for VsCode.

Licenses of used libraries and code

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

conan-app-launcher-1.0.0b8.tar.gz (106.8 kB view hashes)

Uploaded Source

Built Distribution

conan_app_launcher-1.0.0b8-py3-none-any.whl (124.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page