Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ jobs:
token: ${{ secrets.GH_GITHUB_COM_TOKEN || github.token }}
- run: |
python -m pip install --upgrade pip
python -m pip install .[with-dependencies]
ape plugins install .
python -m pip install .[with-dependencies,ape]

- name: Ensure clear Jupyter Notebooks
uses: ResearchSoftwareActions/EnsureCleanNotebooksAction@1.1
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ jobs:
token: ${{ secrets.GH_GITHUB_COM_TOKEN || github.token}}
- run: |
python -m pip install --upgrade pip
python -m pip install .[with-dependencies]
ape plugins install .
python -m pip install .[with-dependencies,ape]

- name: Analysing code with pyright
run: python -m pyright $(git ls-files '*.py')
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ jobs:
token: ${{ secrets.GH_GITHUB_COM_TOKEN || github.token}}
- run: |
python -m pip install --upgrade pip
python -m pip install .[with-dependencies,postgres]
ape plugins install .
python -m pip install .[with-dependencies,postgres,ape]
python -m pip install coverage

- name: Run pytest with coverage
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ COPY . ./

# install elfpy
RUN python -m pip install --no-cache-dir --upgrade pip
RUN python -m pip install --no-cache-dir -e ."[with-dependencies]"
RUN ape plugins install .
RUN python -m pip install --no-cache-dir -e ."[with-dependencies,ape]"

# copy hyperdrive contracts from migrations image
COPY --from=migrations /src/ ./hyperdrive_solidity/
Expand Down
4 changes: 2 additions & 2 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Install -- overview

Elf-simulations has been tested with Python 3.9 and 3.10.
Elf-simulations is currently supported only for Python 3.10.

### 1. Install Pyenv

Expand Down Expand Up @@ -69,7 +69,7 @@ Complete the steps in [Hyperdrive's Pre-requisites section](https://github.com/d

### 7. Install ape plugins

Install Ape plugins with `ape plugins install .`
Install Ape plugins with `python -m pip install --upgrade -e ".[ape]"`

## Notes

Expand Down
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ docs = [
"urllib3<2.0",
]

ape = [
"ape-alchemy",
"ape-etherscan",
"ape-foundry",
"ape-solidity",
"eth-ape",
]

[project.urls]
"Homepage" = "https://github.com/delvtech/elf-simulations"
"Bug Tracker" = "https://github.com/delvtech/elf-simulations/issues"
Expand Down