-
Notifications
You must be signed in to change notification settings - Fork 50
/
pyproject.toml
124 lines (115 loc) · 2.64 KB
/
pyproject.toml
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[build-system]
requires = ["setuptools>=65.5", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "premise"
authors = [
{ name="Romain Sacchi", email="[email protected]" },
{ name="Alois Dirnaichner", email="[email protected]" },
{ name="Chris Mutel", email="[email protected]" }
]
maintainers = [
{ name="Romain Sacchi", email="[email protected]" }
]
description = "Coupling IAM output to ecoinvent LCA database ecoinvent for prospective LCA"
readme = "README.md"
dynamic = ["dependencies", "version"]
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
]
requires-python = ">=3.10,<3.12"
[project.urls]
source = "https://github.com/polca/premise"
homepage = "https://github.com/polca/premise"
tracker = "https://github.com/polca/premise/issues"
[project.optional-dependencies]
docs = [
"sphinx-rtd-theme"
]
bw25 = [
"bw2calc >=2.0.1",
"bw2data >=4.3",
"bw2io >=0.9.4",
"bottleneck",
"ecoinvent_interface",
"constructive-geometries>=0.9.5",
"numpy <2.0.0",
"cryptography",
"datapackage",
"pandas",
"platformdirs",
"premise_gwp",
"prettytable",
"pyarrow",
"pycountry",
"pyYaml",
"requests",
"schema",
"sparse>=0.14.0",
"wurst>=0.4",
"xarray<=2024.2.0",
"tqdm",
"unfold",
]
bw2 = [
"bw2calc ==1.8.2",
"bw2data == 3.6.6",
"bw2io ==0.8.12",
"bottleneck",
"ecoinvent_interface",
"constructive-geometries>=0.9.5",
"numpy <2.0.0",
"cryptography",
"datapackage",
"pandas",
"platformdirs",
"premise_gwp",
"prettytable",
"pyarrow",
"pycountry",
"pyYaml",
"requests",
"schema",
"sparse>=0.14.0",
"wurst>=0.4",
"xarray<=2024.2.0",
"tqdm",
"unfold",
]
[tool.setuptools]
license-files = ["LICENSE"]
include-package-data = true
packages = ["premise"]
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
version = {attr = "premise.__version__"}
[tool.pytest.ini_options]
markers = [
# marks tests that require ecoinvent (to be disabled on Travis)
"ecoinvent",
"serial"
]
norecursedirs = [
"dist",
"build",
".tox"
]
testpaths = ["tests/*.py"]
[tool.flake8]
# Some sane defaults for the code style checker flake8
max_line_length = 88
extend_ignore = ["E203", "W503"]
# ^ Black-compatible
# E203 and W503 have edge cases handled by black
exclude = [
".tox",
"build",
"dist",
".eggs",
"docs/conf.py",
]