forked from Distributive-Network/PythonMonkey
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
35 lines (30 loc) · 944 Bytes
/
pyproject.toml
File metadata and controls
35 lines (30 loc) · 944 Bytes
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
[tool.poetry]
name = "pminit"
version = "0"
description = "Post-install hook for PythonMonkey"
authors = [
"Tom Tang <xmader@distributive.network>",
"Caleb Aikens <caleb@distributive.network>",
"Wes Garland <wes@distributive.network>",
"Hamada Gasmallah <hamada@distributive.network>"
]
include = [
# Install extra files into the pythonmonkey package
"pythonmonkey/package*.json",
{ path = "pythonmonkey/node_modules/**/*", format = "wheel" },
# pip builds (and actually installs from) the wheel when installing from sdist
# we don't want node_modules inside the sdist package
]
[tool.poetry.dependencies]
python = "^3.8"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "pep440"
bump = true
[tool.poetry.build]
script = "post-install-hook.py"
generate-setup-file = false
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"