Skip to content

Commit e0f9fea

Browse files
authored
Merge pull request #208 from grvvy/poetry_pip
switch to pip for dependency installation
2 parents 8594e4c + 92bd5c0 commit e0f9fea

File tree

3 files changed

+42
-761
lines changed

3 files changed

+42
-761
lines changed

docs/getting_started.rst

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,17 @@ Currently, the LUNA library is considered a “work-in-progress”; and
2929
thus it’s assumed you’ll want to use a local copy of LUNA for
3030
development.
3131

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.
3333
From the root of the repository:
3434

3535
.. code:: sh
3636
37-
# Pull down poetry, our build system.
38-
pip3 install poetry --user
37+
# Install a copy of our local tools.
38+
pip install .
3939
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]
4243
4344
4445
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:
4849
.. code:: sh
4950
5051
# Create a LUNA package, and install it.
51-
pip3 install . --user
52+
pip install . --user
5253
5354
5455
Testing
@@ -62,11 +63,11 @@ program gateware using Amaranth HDL; so they can be run like any other script:
6263
6364
# With GSG or self-built LUNA hardware connected; we can run the full test,
6465
# and test both our installation and the attached hardware.
65-
poetry run applets/interactive-test.py
66+
python applets/interactive-test.py
6667
6768
# Without LUNA hardware connected, we'll only build the applet, to exercise
6869
# our toolchain.
69-
poetry run applets/interactive-test.py --dry-run
70+
python applets/interactive-test.py --dry-run
7071
7172
7273
The ``apollo`` utility.

0 commit comments

Comments
 (0)