-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
45 lines (40 loc) · 1.26 KB
/
Copy pathpyproject.toml
File metadata and controls
45 lines (40 loc) · 1.26 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
[build-system]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "defineutils"
version = "0.3.0"
description = "CDISC Define-XML v2.1 utilities"
readme = "README.md"
authors = [{ name = "Sam Hume", email = "swhume@gmail.com" }]
license = "MIT"
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
keywords = ["define.xml", "Define-XML", "CDISC"]
dependencies = [
"elementpath>=5.0.4",
"lxml >= 6.0.1",
"odmlib >= 0.2.0",
"xmlschema >= 4.1.0",
'tomli; python_version < "3.11"',
]
requires-python = ">=3.10"
[project.urls]
Homepage = "https://github.com/swhume/defineutils"
[tool.setuptools]
packages = ["defineutils", "defineutils.definehtml", "defineutils.validate", "defineutils.definepp",
"defineutils.definerefs", "defineutils.metrics"]
[tool.setuptools.package-data]
# Include non-Python files needed at runtime (schemas, XSL)
"defineutils.definehtml" = ["define2-1.xsl", "define2-1.xsl.LICENSE"]
"defineutils.validate" = [
"schema/cdisc-arm-1.0/*.xsd",
"schema/cdisc-define-2.1/*.xsd",
"schema/cdisc-define-2.1/*.html",
"schema/cdisc-odm-1.3.2/*.xsd",
"schema/core/*.xsd"
]
[tool.setuptools.exclude-package-data]
"*" = ["tests/*", "tests"]