Skip to content

Commit

Permalink
Moving the detectron2 and scarlet packages to pyproject.toml.
Browse files Browse the repository at this point in the history
  • Loading branch information
drewoldag committed Nov 9, 2023
1 parent 1ce15e4 commit 621f943
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ jobs:
python -m pip install --upgrade pip
pip install .
pip install .[dev]
pip install 'git+https://github.com/facebookresearch/detectron2.git'
pip install 'git+https://github.com/pmelchior/scarlet.git'
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Analyze code with linter
run: |
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ jobs:
python -m pip install --upgrade pip
pip install .
pip install .[dev]
pip install 'git+https://github.com/facebookresearch/detectron2.git'
pip install 'git+https://github.com/pmelchior/scarlet.git'
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run unit tests with pytest
run: |
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/testing-and-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ jobs:
python -m pip install --upgrade pip
pip install .
pip install .[dev]
pip install 'git+https://github.com/facebookresearch/detectron2.git'
pip install 'git+https://github.com/pmelchior/scarlet.git'
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run unit tests with pytest
run: |
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ dynamic = ["version"]

dependencies = [
"deepdisc@git+https://github.com/lincc-frameworks/deepdisc.git",
"detectron2@git+https://github.com/facebookresearch/detectron2.git",
"scarlet@git+https://github.com/pmelchior/scarlet.git",
]

# On a mac, install optional dependencies with `pip install '.[dev]'` (include the single quotes)
Expand Down

0 comments on commit 621f943

Please sign in to comment.