@@ -29,16 +29,17 @@ Currently, the LUNA library is considered a “work-in-progress”; and
29
29
thus it’s assumed you’ll want to use a local copy of LUNA for
30
30
development.
31
31
32
- The easiest way to set this up is to install the distribution in a virtual environment.
32
+ The easiest way to set this up is to install the distribution in your working environment.
33
33
From the root of the repository:
34
34
35
35
.. code :: sh
36
36
37
- # Pull down poetry, our build system .
38
- pip3 install poetry --user
37
+ # Install a copy of our local tools .
38
+ pip install .
39
39
40
- # Install a copy of our local tools into our virtualenv.
41
- poetry install
40
+ # Alternatively: install all dependencies,
41
+ # including optional development packages (required for running applets and examples).
42
+ pip install .[dev]
42
43
43
44
44
45
If you want to install LUNA to your machine globally (not recommended), you can do so
@@ -48,7 +49,7 @@ using the following single command:
48
49
.. code :: sh
49
50
50
51
# Create a LUNA package, and install it.
51
- pip3 install . --user
52
+ pip install . --user
52
53
53
54
54
55
Testing
@@ -62,11 +63,11 @@ program gateware using Amaranth HDL; so they can be run like any other script:
62
63
63
64
# With GSG or self-built LUNA hardware connected; we can run the full test,
64
65
# and test both our installation and the attached hardware.
65
- poetry run applets/interactive-test.py
66
+ python applets/interactive-test.py
66
67
67
68
# Without LUNA hardware connected, we'll only build the applet, to exercise
68
69
# our toolchain.
69
- poetry run applets/interactive-test.py --dry-run
70
+ python applets/interactive-test.py --dry-run
70
71
71
72
72
73
The ``apollo `` utility.
0 commit comments