Skip to content

Commit 626d9ae

Browse files
committedMay 14, 2024
Fix.
1 parent ff3870a commit 626d9ae

File tree

3 files changed

+55
-56
lines changed

3 files changed

+55
-56
lines changed
 

Diff for: ‎pyproject.toml

+45
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,51 @@
22
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.0"]
33
build-backend = "setuptools.build_meta"
44

5+
[project]
6+
name = "pytask_stata"
7+
description = "Execute do-files with Stata and pytask."
8+
authors = [{ name = "Tobias Raabe", email = "raabe@posteo.de" }]
9+
license = { text = "MIT" }
10+
classifiers = [
11+
"Development Status :: 4 - Beta",
12+
"License :: OSI Approved :: MIT License",
13+
"Operating System :: OS Independent",
14+
"Programming Language :: Python :: 3",
15+
"Programming Language :: Python :: 3 :: Only",
16+
]
17+
requires-python = ">=3.8"
18+
dependencies = ["click", "pytask>=0.3"]
19+
dynamic = ["version"]
20+
21+
[project.readme]
22+
file = "README.md"
23+
content-type = "text/markdown"
24+
25+
[project.optional-dependencies]
26+
test = ["pytest", "pytest-cov", "pytest-xdist"]
27+
typing = ["mypy"]
28+
29+
[project.urls]
30+
Homepage = "https://github.com/pytask-dev/pytask-stata"
31+
Documentation = "https://github.com/pytask-dev/pytask-stata"
32+
Github = "https://github.com/pytask-dev/pytask-stata"
33+
Tracker = "https://github.com/pytask-dev/pytask-stata/issues"
34+
Changelog = "https://github.com/pytask-dev/pytask-stata/blob/main/CHANGES.md"
35+
36+
[project.entry-points]
37+
pytask = { pytask_stata = "pytask_stata.plugin" }
38+
39+
[tool.setuptools]
40+
include-package-data = true
41+
package-dir = { "" = "src" }
42+
zip-safe = false
43+
platforms = ["any"]
44+
license-files = ["LICENSE"]
45+
46+
[tool.setuptools.packages.find]
47+
where = ["src"]
48+
namespaces = false
49+
550
[tool.setuptools_scm]
651
write_to = "src/pytask_stata/_version.py"
752

Diff for: ‎setup.cfg

-43
This file was deleted.

Diff for: ‎tox.ini

+10-13
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
[tox]
2-
envlist = pytest
2+
requires = tox>=4
3+
envlist = docs, mypy
34

45
[testenv]
5-
usedevelop = true
6+
package = editable
67

7-
[testenv:pytest]
8-
conda_channels =
9-
conda-forge
10-
nodefaults
11-
conda_deps =
12-
pytask =0.3
13-
pytest
14-
pytest-cov
15-
pytest-xdist
16-
commands =
17-
pytest {posargs}
8+
[testenv:typing]
9+
extras = typing
10+
commands = mypy
11+
12+
[testenv:test]
13+
extras = test
14+
commands = pytest {posargs}

0 commit comments

Comments
 (0)