forked from psd-tools/psd-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
79 lines (68 loc) · 2.06 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
[build-system]
requires = ["setuptools", "wheel", "cython"]
build-backend = "setuptools.build_meta"
[project]
name = "psd-tools"
dynamic = ["version"]
authors = [
{ name = "Mikhail Korobov", email = "kmike84@gmail.com" },
{ name = "Kota Yamaguchi", email = "KotaYamaguchi1984@gmail.com" },
]
description = "Python package for working with Adobe Photoshop PSD files"
readme = "README.rst"
keywords = ["photoshop", "psd"]
license = { text = "MIT License" }
dependencies = [
"docopt>=0.6.0",
"attrs>=23.0.0",
"Pillow>=10.0.0",
"aggdraw",
"numpy",
"scipy",
"scikit-image",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Multimedia :: Graphics",
"Topic :: Multimedia :: Graphics :: Viewers",
"Topic :: Multimedia :: Graphics :: Graphics Conversion",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[project.optional-dependencies]
dev = ["pytest", "pytest-cov", "ipython", "flake8", "black", "isort", "pysen"]
docs = ["sphinx", "sphinx_rtd_theme"]
[project.scripts]
psd-tools = "psd_tools.__main__:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
psd_tools = ["*.pyx"]
[tool.setuptools.dynamic]
version = { attr = "psd_tools.version.__version__" }
[tool.cibuildwheel]
test-requires = ["pytest", "pytest-cov", "ipython"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--cov=psd_tools"
[tool.pysen]
version = "0.10"
[tool.pysen.lint]
enable_black = true
enable_flake8 = true
enable_isort = true
enable_mypy = false
mypy_preset = "strict"
line_length = 88
py_version = "py38"
isort_known_first_party = ["psd_tools"]
[[tool.pysen.lint.mypy_targets]]
paths = ["src", "tests"]