Uranium
Application Framework
Loading...
Searching...
No Matches
Building


‍We are currently in the process of switch our builds
and pipelines to an approach which uses [Conan] and
pip to manage our dependencies, which are stored
on our JFrog Artifactory server and in the pypi.org.

Not everything has been fully ported yet, so bare with us.



Related

If you want to develop Cura with Uranium see the Cura Wiki.

[Conan] is a Python program and can be installed using pip.
If you have never used it read their Documentation which
is quite extensive and well maintained.



Configuring Conan


pip install conan --upgrade
conan config install https://github.com/ultimaker/conan-config.git
conan profile new default --detect --force


Community developers would have to remove the
Conan cura repository because it requires credentials.

Ultimaker developers need to request an
account for our JFrog Artifactory server at IT.

conan remote remove cura



Clone Uranium


git clone https://github.com/Ultimaker/Uranium.git
cd Uranium



Environment Initialization

Initializing the Virtual Python Development Environment.


Install the dependencies for the development environment and initialize
a virtual Python environment. Execute the following command in the root
directory of the Cura repository.

conan install . \
--build=missing \
-o cura:devtools=True \
-g VirtualPythonEnv



Running Tests


Linux / MacOS

source venv/bin/activate
cd tests
pytest


Windows

.\venv\Scripts\activate.ps1
cd tests
pytests