Skip to content

Commit d544100

Browse files
committed
Let conda install both gait2d and opty.
1 parent 57091c2 commit d544100

File tree

2 files changed

+11
-14
lines changed

2 files changed

+11
-14
lines changed

README.rst

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
Setup
22
=====
33

4-
Clone the two repositories where the developement is done::
4+
Clone the repository where the developement is done::
55

66
git clone [email protected]:mechmotum/gait-closed-loop-id.git
7-
git clone [email protected]:csu-hmc/gait2d.git
87

98
If using Spyder, install it along with ``spyder-kernels`` in your base
109
environment::
@@ -21,18 +20,13 @@ You will also need a working C compiler on your operating system. For Windows,
2120
you'll need the right compiler for the Python version you are using. See
2221
https://wiki.python.org/moin/WindowsCompilers for more info.
2322

24-
Install an editable development version of gait2d::
25-
26-
cd ../gait2d
27-
python -m pip install --no-dependencies --no-build-isolation --editable .
28-
29-
If that fails, try::
30-
31-
python -m pip install --no-deps --no-build-isolation git+https://github.com/csu-hmc/gait2d#egg=gait2d
32-
33-
Change back into the project repository::
23+
If we make updates in gait2d or opty, you will need to recreate the
24+
environment::
3425

35-
cd ../gait-closed-loop-id
26+
conda deactivate
27+
conda env remove -n gait-closed-loop-id
28+
conda env create -f gait-closed-loop-id-env.yml
29+
conda activate gait-closed-loop-id
3630

3731
Data
3832
====

gait-closed-loop-id-env.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
name: gait-closed-loop-id
22
channels:
33
- conda-forge
4+
- nodefaults # ensure only from conda forge
45
dependencies:
56
- cyipopt
67
- cython
78
- ffmpeg
9+
- ipopt
810
- ipython
911
- matplotlib
1012
- numpy
@@ -19,6 +21,7 @@ dependencies:
1921
- symmeplot
2022
- sympy
2123
- yeadon
22-
# NOTE : install the development version of opty
24+
# NOTE : install the development version of opty and gait2d
2325
- pip:
2426
- git+https://github.com/csu-hmc/opty#egg=opty
27+
- git+https://github.com/csu-hmc/gait2d#egg=gait2d

0 commit comments

Comments
 (0)