Skip to content

Packaging

Joey de l'Arago edited this page Feb 17, 2023 · 1 revision

Packaging

Creating a new Uranium Conan package
so it can be used in Cura and Uranium.


Run the following

conan create .                              \
    uranium/<version>@<username>/<channel>  \
    --build=missing                         \
    --update

This package will be stored in the local Conan cache.

~/.conan/data or C:\Users\username\.conan\data


It can be used in downstream projects, such as Cura and Uranium by
adding it as a requirement in the conanfile.py or in conandata.yml.

Make sure that the used <version> is present
in the conandata.yml in the Uranium root.


You can also specify the override at the commandline, to use the
newly created package, when you execute the install command
in the root of the consuming project.

conan install .     \
    -build=missing  \ 
    --update        \
    --require-override=uranium/<version>@<username>/<channel>

Clone this wiki locally