conda recipes for freecad and dependencies of freecad
Branch: master
Clone or download
Latest commit 223e407 Feb 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
calculix-feedstock @ 4b50e89 update submodules Feb 4, 2019
coin3d-feedstock @ a3fdf67 update submodules Dec 7, 2018
freecad-feedstock @ de97927 update packaging plan Feb 7, 2019
freecad_launcher add a shortcut for windows Nov 25, 2017
freecad_variants move deps-graph Dec 7, 2018
gmsh-feedstock @ a0d229e update submodules Feb 4, 2019
graphviz-feedstock @ 1c56251 add submodules: Feb 5, 2019
libmed-feedstock @ 896a4b6 update docs Feb 4, 2019
libredwg add libredwg Feb 16, 2019
netgen-feedstock @ 5103fc8 update docs Feb 4, 2019
occt-feedstock @ 85a96ee update docs Feb 4, 2019
ocl add note that ocl doesn't work with py3 yet! Sep 22, 2018
pivy-feedstock @ c1c3c24 update submodules Feb 4, 2019
povray use povray master Feb 15, 2018
pyocct freecad: update version May 11, 2018
pyrate add pyrate Feb 10, 2019
simage-feedstock @ 3c143fc update docs Feb 4, 2019
smesh-feedstock @ 4186361 update docs Feb 4, 2019
solvespace solvespace: delete patch (allready in upstream) Aug 11, 2018
soqt-feedstock @ c21f5e0 update docs Feb 4, 2019
utils update packaging plan Feb 7, 2019
vtk-feedstock @ 6be57e3 update packaging plan Feb 7, 2019
xfoil added xfoil recipe Nov 22, 2017
.gitignore add app-image script Mar 2, 2017
.gitmodules add submodules: Feb 5, 2019
LICENSE License Aug 11, 2016
README.md Update README.md Dec 7, 2018
build.md update docs Feb 4, 2019
develop.md update docs Feb 4, 2019
packaging_plan.md update packaging plan Feb 7, 2019

README.md

Packaging Status

package-name version linux osx win last update downloads
coin3d 4.0.0 (cmake) Circle CI TravisCI AppVeyor update update
libmed 3.3.1 Circle CI TravisCI AppVeyor update update
netgen 6.2.0 Circle CI TravisCI AppVeyor update update
occt 7.2.0 Circle CI Circle CI AppVeyor update update
pivy 6.4 Circle CI TravisCI AppVeyor update update
simage 1.7.0 Circle CI Circle CI AppVeyor update update
smesh 8.3.0 Circle CI TravisCI AppVeyor update update
soqt 1.6.0a Circle CI TravisCI AppVeyor update update
calculix 2.14 Circle CI TravisCI AppVeyor update update
gmsh 3.0.6 Circle CI Circle CI AppVeyor update update
freecad 0.18b0 Circle CI Circle CI AppVeyor update update
pyocct 7.2.0 cad-channel --- cad-channel

CONDA-PACKAGES for FreeCAD

Conda gives the oppurtunity to distribute FreeCAD in a consistent way for multiple plattforms. This is the biggest advantage of conda: A package-manager wich works in the same way for different platforms.

For more information about conda, you can follow this link: https://conda.io/docs/intro.html

What is conda?

conda is a cross-plattform package-manager written in python similar to pip. The main advantage over pip is a very simple way to create packages for more difficult libraries which are not written in python and often need some special dependencies to get build. So conda fits in somewhere between system-package-managers like apt and yum and pip. But conda is not only useable for python. There are also a lot of packages for other interpreters available (eg.: R)

What is anaconda?

anaconda is a distribution of common conda-packages bundled in one installable archive. Installing anaconda is a very simple way to get many of the scintific python-packages. Anaconda is available in version 2 and 3. The version number refers to the python version of the root-environment. But there is always the option to create an environment with python2 /python3 from any of those two. So my suggestion is to always use Anaconda3!

What is miniconda?

minoconda is similar to anaconda, but only bundles a little subset of packages. Miniconda aims to be a minimalistic installation for the conda-package-manager. With the conda-package-manager you are able to install any package which is provided by Anaconda, and many more.

What are environments?

An environment has it's own environment-variables and an own directory structure. With environments it's possible to use different dependency-structures which is very useful for development and staying up to date with some of the latest packages while still having stable versions. Maybe the most important advantage of development in environments is the fact that you don't have to make any changes to your system and therefore can ran the latest packages on a very stable (old) system. Such environments are not a new idea. This is also available through the python-package virtual-env.

What is conda-build?

conda-build is a python-package to create packages for the conda-package-manager. conda-build provides some simple commands to package any kind of programms. Mainly this is done by a meta.yaml file where all dependencies and build-commands are specified. For more complex packages there are scripts (build.sh, build.bat) used to do the installation. Maintainer have to simple build and install some sources in a conda-build-environment and conda-build takes care of creating the package.

What is conda-forge?

conda-forge is the community channel for conda-packages. It provides a really big set of packages. All major dependencies of FreeCAD are available from the conda-forge-channel.

HOW TO INSTALL FreeCAD WITH CONDA

INSTALL MINICONDA:

unix

  • first get miniconda: http://conda.pydata.org/miniconda.html choose 64-bit
  • install miniconda: bash .sh (not as root!!!)
  • at the end of the install it will ask you if you want to add the anaconda-dir to the $PATH, say yes.
  • if you do not want anaconda to be the default python open the ~/.bashrc and edit the new line: -from this: export PATH="path_to_anaconda/bin:$PATH" -to this: alias initConda='export PATH="path_to_anaconda/bin:$PATH" ' this way conda isn't perpended by default. As soon as you call "initConda" python will be the anaconda version.

windows

INSTALL FREECAD

Adding conda-forge to the channels

  • first we have to add the conda-forge channel: conda config --add channels conda-forge

create new environment

windows:

  • open the anaconda prompt/terminal
  • create an env: conda create -n env-name freecad # with is the name of the env, eg. fc_test (this will install all necessary packages needed to run FreeCAD)
  • activate <env-name>
  • start FreeCAD by entering: FreeCAD

unix

  • type in terminal: initConda (now the "conda" command should be available)
  • create an env: conda create -n env-name freecad # with is the name of the env, eg. fc_test (this will install all necessary packages needed to run FreeCAD)
  • at the end of this process a short statement is printed how to activate the new env.: source activate <env-name>
  • start FreeCAD by entering: FreeCAD

use specific dependency versions

to create an enviroment with secific versions of packages you can add these packages with versions to the create command. This will give you the oppertunity to reproduce a enviroment. eg.: in case some newer dependencies are broken.

conda create -n freecad freecad=0.17=py35_0 netgen=6.1=5 ...

ADDITIONAL INFORMATION

  • list all enviroments:
    conda env list

  • remove environment:
    conda env remove -n <name>

  • update:
    conda update --all
    conda update conda

  • list added channels: conda config --show-sources