Skip to content

Commit d7af388

Browse files
committed
PEP621 install pyproject.toml only
1 parent fb41aa8 commit d7af388

File tree

5 files changed

+39
-70
lines changed

5 files changed

+39
-70
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python-version: [ '3.7', '3.10' ]
15+
python-version: [ '3.7', '3.11' ]
1616
name: Lint Python ${{ matrix.python-version }}
1717

1818
steps:
19-
- uses: actions/checkout@v2
20-
- uses: actions/setup-python@v2
19+
- uses: actions/checkout@v3
20+
- uses: actions/setup-python@v4
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323

.mypy.ini

Lines changed: 0 additions & 8 deletions
This file was deleted.

pyproject.toml

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,40 @@
11
[build-system]
2-
requires = ["setuptools", "wheel"]
2+
requires = ["setuptools>=61.0.0", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "mozloc"
7+
version = "1.4.0"
8+
description = "Using Mozilla Location services, log location vs. time using WiFi or convert to KML."
9+
keywords = ["wifi", "geolocation"]
10+
classifiers = ["Development Status :: 5 - Production/Stable",
11+
"Environment :: Console",
12+
"Intended Audience :: Information Technology",
13+
"Intended Audience :: System Administrators",
14+
"Operating System :: POSIX :: Linux",
15+
"Operating System :: MacOS",
16+
"Operating System :: Microsoft :: Windows",
17+
"Programming Language :: Python :: 3",
18+
"Topic :: System :: Networking",
19+
"Topic :: Utilities"
20+
]
21+
requires-python = ">=3.7"
22+
dynamic = ["readme"]
23+
dependencies = ["requests", "pandas"]
24+
25+
[tool.setuptools.dynamic]
26+
readme = {file = ["README.md"], content-type = "text/markdown"}
27+
28+
[project.optional-dependencies]
29+
tests = ["pytest"]
30+
lint = ["flake8", "flake8-bugbear", "flake8-builtins", "flake8-blind-except", "mypy"]
331

432
[tool.black]
5-
line-length = 132
33+
line-length = 100
34+
35+
[tool.isort]
36+
profile = "black"
637

7-
[tool.pytest.ini_options]
8-
addopts = "-ra -v"
38+
[tool.mypy]
39+
files = ["src"]
40+
ignore_missing_imports = true

setup.cfg

Lines changed: 0 additions & 47 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)