Skip to content

Commit

Permalink
Remove setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mferrera committed Nov 9, 2023
1 parent 38cbb53 commit e4bad26
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 21 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/subscript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:

- name: Lint with black
if: ${{ always() }}
run: black --check *.py src tests
run: black --check src tests

- name: Lint with flake8
if: ${{ always() }}
Expand All @@ -78,11 +78,7 @@ jobs:

- name: Run tests
if: ${{ always() }}
run: |
pytest -n auto tests
# Check that repository is untainted by test code:
git status --porcelain
test -z "$(git status --porcelain)"
run: pytest -n auto tests

- name: Syntax check documentation
if: ${{ always() }}
Expand Down
10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,16 @@ CsvStack = "subscript.csv_stack.csv_stack"
FmuObs = "subscript.fmuobs.fmuobs"
Params2Csv = "subscript.params2csv.params2csv"

[tool.setuptools]
script-files = [
"src/subscript/legacy/duf",
"src/subscript/legacy/eclmanual",
"src/subscript/legacy/ertwatch",
"src/subscript/legacy/list_rms_usage",
"src/subscript/legacy/nosim",
"src/subscript/legacy/runeclipse",
]

[tool.black]
line-length = 88

Expand Down
15 changes: 0 additions & 15 deletions setup.py

This file was deleted.

0 comments on commit e4bad26

Please sign in to comment.