Skip to content

Commit 98f0a8e

Browse files
committed
src layout
1 parent f8d68c9 commit 98f0a8e

23 files changed

+11
-7
lines changed
File renamed without changes.

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@ on:
55
paths:
66
- "**.py"
77
pull_request:
8-
paths:
9-
- "**.py"
8+
release:
109

1110
jobs:
1211

1312
full:
1413
runs-on: ubuntu-latest
1514
steps:
16-
- uses: actions/checkout@v1
15+
- uses: actions/checkout@v2
1716
- uses: actions/setup-python@v1
1817
with:
1918
python-version: '3.x'
2019
- run: pip install .[full,tests,lint]
20+
2121
- run: flake8
2222
- run: mypy .
23+
2324
- run: pytest
24-
working-directory: tests

.github/workflows/ci_stdlib_only.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ on:
55
paths:
66
- "**.py"
77
pull_request:
8-
paths:
9-
- "**.py"
8+
release:
109

1110
jobs:
1211

1312
stdlib_py35:
1413
runs-on: ubuntu-latest
1514
steps:
16-
- uses: actions/checkout@v1
15+
- uses: actions/checkout@v2
1716
- uses: actions/setup-python@v1
1817
with:
1918
python-version: 3.5
2019
- run: pip install .[tests]
20+
2121
- run: pytest
2222
working-directory: tests

setup.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ python_requires = >= 3.5.2
3131
packages = find:
3232
zip_safe = False
3333
install_requires =
34+
package_dir=
35+
=src
3436

37+
[options.packages.find]
38+
where=src
3539

3640
[options.extras_require]
3741
tests =
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)