-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d1ff2c6
commit 75004f7
Showing
3 changed files
with
73 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
******************************************************************************** | ||
Conda | ||
******************************************************************************** | ||
|
||
Create environment | ||
------------------ | ||
|
||
.. code-block:: bash | ||
conda create -n compas_wood_3_9_10 python=3.9.10 compas | ||
conda activate compas_wood_3_9_10 | ||
Clone and install compas_wood | ||
----------------------------- | ||
|
||
.. code-block:: bash | ||
git clone https://github.com/petrasvestartas/compas_wood.git | ||
cd compas_wood | ||
pip install -r requirements.txt | ||
pip install -e . | ||
Display via compas_viewer | ||
------------------------- | ||
|
||
|
||
.. code-block:: bash | ||
git clone https://github.com/compas-dev/compas_viewer.git | ||
cd compas_viewer | ||
conda activate compas_wood_3_9_10 | ||
pip install -e . | ||
Visual Studio Code | ||
------------------ | ||
|
||
- Launch ``VSCode`` and select the ``compas_wood_3_9_10`` Python environment using ``CTRL+SHIFT+P``. | ||
- Open a new terminal via ``Terminal -> New Terminal``. | ||
- Navigate to the ``docs/examples`` folder and execute any ``.py`` example file by right-clicking and selecting ``Run Python File in Terminal``. | ||
|
||
.. figure:: /_images/vscode_environment.gif | ||
:figclass: figure | ||
:class: figure-img img-fluid | ||
|
||
Notes | ||
===== | ||
|
||
If you are new to Anaconda World, install these tools first: | ||
|
||
- `Anaconda <https://www.anaconda.com/download>`_ | ||
|
||
- `Visual Studio Code <https://code.visualstudio.com/download>`_ | ||
|
||
- `Git <https://git-scm.com/downloads>`_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
******************************************************************************** | ||
Pip | ||
******************************************************************************** | ||
|
||
If you already have a working Python environment: | ||
|
||
.. code-block:: bash | ||
pip install compas_wood | ||
Note: compatible with Python version 3.9.10 and above. |