Skip to content

Latest commit

 

History

History
104 lines (68 loc) · 1.8 KB

Building.md

File metadata and controls

104 lines (68 loc) · 1.8 KB

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 PyNest2D 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 PyNest2D


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


Building & Installation


Release

conan install . --build=missing --update
# optional for a specific version: conan install . pynest2d/<version>@<user>/<channel> --build=missing --update
conan build .

or

sip-install

Debug

conan install . --build=missing --update build_type=Debug
conan build .

or

sip-install