Skip to main content

Conan recipe user interface

Project description

cruiz

Conan recipe user interface

Written by Mark Final, (c) 2020-2022.

main action workflow

Documentation

See the documentation at Read The Docs.

Prerequisites

  • Intel x86_64 platforms:
    • Windows 10+
    • Linux (CentOS 7.5+/Ubuntu 18+)
    • macOS (10.13+)
  • Apple Silicon platforms:
    • macOS (11.0+)
  • Python 3.7-3.11
  • Conan 1.17.1+, but not 2.x (these are the versions tested)

All other Python dependencies are installed when the package is installed.

In order to use the dependency graph visualisation, an additional installation of GraphViz is required from https://graphviz.org/download/. Assign the installed location to the preferences.

Getting started

If you have cloned this repository, you will need:

  1. A Python 3 environment. Make a virtual env if necessary. python3 -m venv <folder to be the env>

    • Activate the virtual env with either:
      • source <folder to be the env>/bin/activate (Linux/macOSX)
      • <folder to be the env>\Scripts\activate.bat (Windows cmd)
      • source <folder to be the env>\Scripts\activate (Windows bash)
  2. Ensure latest pip and wheel are being used. python -m pip install -U pip wheel

  3. Install cruiz and its dependencies

    • From your local clone:
      • pip install -r requirements.txt
      • pip install --no-build-isolation -e .
  4. Run from any directory

    • From your Python environment shell, cruiz or python -m cruiz

Step 3 will need to be re-run when the Python dependencies, or the resource files used, change.

PySide versions

PySide2 and PySide6 have been tested. PySide6 is the default, when running cruiz. PySide2 is only available on Intel x86_64 platforms.

On Linux, PySide 6 from PyPI requires modern libstdc++. If you see a launch error indicating CXXABI_1.3.9 then your distribution is likely too old.

You can alter the default PySide versiont to use, in a number of ways:

  1. Use a different entry point

    • cruiz-pyside2 or python -m cruiz-pyside2
  2. Use an environment variable

    • QT_API=pyside2 cruiz

Linting

Install linting dependencies with pip install -r requirements_dev.txt.

cruiz uses tox to automate linting. Use tox -e lint.

flake8 is used for lint checks, specifically using black as the formatter.

mypy is used for static type checking and validating type annotations.

Python 3.10+ is highly recommended to run the linting steps.

Making Python packages

python setup.py sdist for a source distribution.

pip wheel --no-deps . for a wheel.

Acknowledgements

Many thanks to Foundry and its developers for support, inspiration, and testing in making cruiz.

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

cruiz-1.3.0b12.tar.gz (294.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cruiz-1.3.0b12-py3-none-any.whl (697.7 kB view details)

Uploaded Python 3

File details

Details for the file cruiz-1.3.0b12.tar.gz.

File metadata

  • Download URL: cruiz-1.3.0b12.tar.gz
  • Upload date:
  • Size: 294.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for cruiz-1.3.0b12.tar.gz
Algorithm Hash digest
SHA256 53121d86b0c3f3b61372092af4360d0fdafd6720f53f3335ecca6c6106aa70b2
MD5 7f7bc498127d81181f8b4e20f96c29f8
BLAKE2b-256 e22c9da09b1d5c9fdc56c359c65e332b1ee776ab45daadbdc6e0e3455eb26a0b

See more details on using hashes here.

File details

Details for the file cruiz-1.3.0b12-py3-none-any.whl.

File metadata

  • Download URL: cruiz-1.3.0b12-py3-none-any.whl
  • Upload date:
  • Size: 697.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for cruiz-1.3.0b12-py3-none-any.whl
Algorithm Hash digest
SHA256 ec925dbc0ef3a6933988877c727ebc816717b881654e542650d9cdce0ac8acc7
MD5 c69f5a143c12e3b39d2d675edfd2b9ae
BLAKE2b-256 3ac21174011855dcb54d42066c1c53f910cda2416c2d6cf32e9800bf6c717e09

See more details on using hashes here.

Supported by

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