-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpyproject.toml
95 lines (86 loc) · 2.97 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
# Python Project Configuration
#
# Documentation:
# - https://packaging.python.org/en/latest/specifications/pyproject-toml/
# (https://github.com/pypa/packaging.python.org/blob/caa20073/source/specifications/pyproject-toml.rst)
# - https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/
# (https://github.com/pypa/pip/blob/24.2/docs/html/reference/build-system/pyproject-toml.md)
# - https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
# (https://github.com/pypa/setuptools/blob/v70.3.0/docs/userguide/pyproject_config.rst)
[build-system]
requires = [
"setuptools==75.3.0",
"wheel==0.45.1",
]
build-backend = "setuptools.build_meta"
[project]
name = "cl-sii"
dependencies = [
"cryptography>=43.0.0",
"defusedxml>=0.6.0,<1",
"jsonschema>=3.1.1",
"lxml>=5.2.1,<6",
"marshmallow>=3,<4",
"pydantic>=2.10.0,!=1.7.*,!=1.8.*,!=1.9.*",
"pyOpenSSL>=24.0.0",
"pytz>=2019.3",
"signxml>=4.0.0",
"typing-extensions>=4.0.1",
]
requires-python = ">=3.8, <3.11"
authors = [
{name = "Fyntex TI SpA", email = "[email protected]"},
]
description = "Python library for Servicio de Impuestos Internos (SII) of Chile."
readme = "README.md"
license = {text = "MIT"}
classifiers = [
# See https://pypi.org/classifiers/
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
dynamic = ["version"]
[project.optional-dependencies]
django = ["Django>=4.2"]
django-filter = ["django-filter>=24.2"]
djangorestframework = ["djangorestframework>=3.10.3,<3.16"]
pydantic = ["pydantic>=2.0"]
[project.urls]
Homepage = "https://github.com/fyntex/lib-cl-sii-python"
Changelog = "https://github.com/fyntex/lib-cl-sii-python/blob/develop/HISTORY.md"
[tool.setuptools]
include-package-data = true
zip-safe = false
[tool.setuptools.packages.find]
where = ["src"]
include = ["*"]
exclude = [
"scripts",
"tests*",
]
namespaces = true
[tool.setuptools.package-data]
# note: the "typing information" of this project's packages is not made available to its users
# automatically; it needs to be packaged and distributed. The way to do so is fairly new and
# it is specified in PEP 561 - "Distributing and Packaging Type Information".
# See:
# - https://www.python.org/dev/peps/pep-0561/#packaging-type-information
# - https://github.com/python/typing/issues/84
# - https://github.com/python/mypy/issues/3930
# warning: remember to replicate this in the manifest file for source distribution ('MANIFEST.in').
cl_sii = [
# Indicates that the "typing information" of the package should be distributed.
"py.typed",
# Data files that are not in a sub-package.
"data/cte/schemas-json/*.schema.json",
"data/ref/factura_electronica/schemas-xml/*.xsd",
]
[tool.setuptools.dynamic]
version = {attr = "cl_sii.__version__"}
[tool.distutils.bdist_wheel]
universal = false