Add pip/docker install instructions

This commit is contained in:
Dion Moult
2022-09-01 09:05:06 +10:00
parent 106b8fdd07
commit a26f60861e
4 changed files with 38 additions and 19 deletions
@@ -5,8 +5,9 @@ There are different methods of installation, depending on your situation.
1. **Pre-built packages** is recommended for users wanting to use the latest IfcOpenShell builds.
2. **Conda** is recommended for developers using Anaconda.
3. **Compiling from source** is recommended for developers actively working with the C++ core.
4. **Packaged installation** is recommended for those who use a package manager.
3. **Docker** is recommended for developers using Docker.
4. **Compiling from source** is recommended for developers actively working with the C++ core.
5. **Packaged installation** is recommended for those who use a package manager.
Pre-built packages
------------------
@@ -44,6 +45,17 @@ Conda
Installing IfcConvert from Conda will also install IfcOpenShell-Python.
Docker
------
.. code-block::
$ docker run -it aecgeeks/ifcopenshell IfcConvert
.. note::
Installing IfcConvert from Docker will also install IfcOpenShell-Python.
Compiling from source
---------------------
@@ -4,10 +4,11 @@ Installation
There are different methods of installation, depending on your situation.
1. **Pre-built packages** is recommended for users wanting to use the latest IfcOpenShell builds.
2. **Pip** is recommended for managing a more stable IfcOpenShell version.
2. **PyPI** is recommended for developers using Pip.
3. **Conda** is recommended for developers using Anaconda.
4. **Using the BlenderBIM Add-on** is recommended for non-developers wanting a graphical interface.
5. **Compiling from source** is recommended for developers actively working with the C++ core.
4. **Docker** is recommended for developers using Docker.
5. **Using the BlenderBIM Add-on** is recommended for non-developers wanting a graphical interface.
6. **Compiling from source** is recommended for developers actively working with the C++ core.
Pre-built packages
------------------
@@ -61,7 +62,7 @@ Pre-built packages
code in Python:
.. code-block:: python
import sys
print(sys.path)
@@ -77,10 +78,12 @@ Pre-built packages
print(ifcopenshell.version)
model = ifcopenshell.file()
Pip
---
PyPI
----
TODO
.. code-block::
pip install ifcopenshell-python
Conda
-----
@@ -96,6 +99,17 @@ Conda
Installing IfcOpenShell from Conda will also install IfcConvert.
Docker
------
.. code-block::
$ docker run -it aecgeeks/ifcopenshell python3 -c 'import ifcopenshell; print(ifcopenshell.version)'
.. note::
Installing IfcOpenShell from Docker will also install IfcConvert.
Using the BlenderBIM Add-on
---------------------------