-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (87 loc) · 2.81 KB
/
pyproject.toml
File metadata and controls
106 lines (87 loc) · 2.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# ======================================================================================
# Project metadata
# ======================================================================================
[project]
name = "dcegm"
description = "Python package for solving and simulating finite-horizon stochastic discrete-continuous dynamic choice models using the DC-EGM algorithm from Iskhakov, Jørgensen, Rust, and Schjerning (QE, 2017)."
dynamic = ["version"]
requires-python = ">=3.10"
dependencies = [
"numpy",
"jax",
"upper-envelope"
]
keywords = [
"Economics",
"DC-EGM",
"Dynamic Programming",
"Life Cycle Models",
"Computational Economics",
"Econometrics",
"Statistics",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
]
authors = [
{ name = "Max Blesch, Sebastian Gsell", email = "gsell.sebastian@gmail.com" }
]
maintainers = [
{ name = "Max Blesch, Sebastian Gsell", email = "maxblesch@gmail.com" }
]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.license]
text = "MIT"
[project.urls]
Github = "https://github.com/OpenSourceEconomics/dcegm"
# ======================================================================================
# Build system configuration
# ======================================================================================
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.build.hooks.vcs]
version-file = "src/dcegm/_version.py"
[tool.hatch.build.targets.sdist]
exclude = ["tests"]
only-packages = true
[tool.hatch.build.targets.wheel]
only-include = ["src"]
sources = ["src"]
[tool.hatch.version]
source = "vcs"
[tool.hatch.metadata]
allow-direct-references = true
# ======================================================================================
# Templates
# ======================================================================================
[tool.setuptools.package-data]
"dcegm" = ["templates/**/*"]
[project.scripts]
dcegm = "dcegm.cli:cli"
# ======================================================================================
# Misc configuration
# ======================================================================================
[tool.pytest.ini_options]
addopts = [
"--ignore=src/dcegm/templates"
]
[tool.ruff]
target-version = "py310"
fix = true
[tool.yamlfix]
line_length = 88
sequence_style = "block_style"
none_representation = "null"