-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
129 lines (115 loc) · 4.25 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
125
126
127
128
129
[tool.poetry]
name = "fl-studio-api-stubs"
version = "37.0.1"
description = "Stub code, type definitions and documentation for the FL Studio Python API"
readme = "README.md"
authors = ["Maddy Guthridge <hello@maddyguthridge.com>"]
license = "LGPL-3.0-only"
repository = "https://github.com/IL-Group/FL-Studio-Api-Stubs/issues"
documentation = "https://il-group.github.io/FL-Studio-API-Stubs/"
keywords = [
"fl-studio",
"midi",
"api",
"documentation",
"stubs",
"fl",
"studio",
"daw",
"controller",
"image-line",
]
classifiers = [
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"Environment :: Other Environment",
"Topic :: Software Development :: Documentation",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Typing :: Typed",
"Typing :: Stubs Only",
]
include = [
# Explicitly include all .py files in `build_lib`, otherwise, they will be
# skipped due to the `.gitignore`.
"build_lib/**/*.py",
# And the `py.typed` files
"build_lib/**/py.typed",
# NOTE: Any extra files won't be bundled unless explicitly included here.
# Am considering making transdoc skip files in the `.gitignore`, which
# would allow us to blindly include everything in `build_lib` without also
# including stuff like .pyc files.
]
packages = [
# MIDI controller scripting
{ include = "arrangement", from = "build_lib/midi_controller_scripting" },
{ include = "channels", from = "build_lib/midi_controller_scripting" },
{ include = "device", from = "build_lib/midi_controller_scripting" },
{ include = "general", from = "build_lib/midi_controller_scripting" },
{ include = "launchMapPages", from = "build_lib/midi_controller_scripting" },
{ include = "mixer", from = "build_lib/midi_controller_scripting" },
{ include = "patterns", from = "build_lib/midi_controller_scripting" },
{ include = "playlist", from = "build_lib/midi_controller_scripting" },
{ include = "plugins", from = "build_lib/midi_controller_scripting" },
{ include = "screen", from = "build_lib/midi_controller_scripting" },
{ include = "transport", from = "build_lib/midi_controller_scripting" },
{ include = "ui", from = "build_lib/midi_controller_scripting" },
# MIDI controller scripting extra libraries
{ include = "midi", from = "build_lib/midi_controller_scripting" },
{ include = "utils", from = "build_lib/midi_controller_scripting" },
# API stubs extra modules
{ include = "fl_classes", from = "build_lib/midi_controller_scripting" },
# Edison scripting
{ include = "enveditor", from = "build_lib/edison_scripting" },
# Piano roll scripting
{ include = "flpianoroll", from = "build_lib/piano_roll_scripting" },
]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/IL-Group/FL-Studio-Api-Stubs/issues"
"Online Documentation" = "https://il-group.github.io/FL-Studio-API-Stubs/"
[tool.poetry.dependencies]
# Primary dependencies
python = "^3.10"
[tool.poetry.group.build.dependencies]
# Build dependencies -- required to build the library
transdoc = "^0.2.2"
griffe = "^1.0.0"
[tool.poetry.group.docs.dependencies]
# Docs depdnencies -- required to build documentation site
# Note build dependencies are also required
mkdocs = "^1.4.2"
mkdocs-gen-files = "^0.5.0"
mkdocs-material = "^9.5.0"
mkdocstrings = { version = ">=0.24,<0.27", extras = ["python"] }
mkdocs-awesome-pages-plugin = "^2.9.2"
mkdocs-section-index = "^0.3.8"
[tool.poetry.group.ci.dependencies]
# CI dependencies -- required to run continuous integration, including
# linting, type checking, etc
coverage = "^7.2.2"
autopep8 = "^2.0.2"
mypy = "^1.1.1"
typing-extensions = "^4.5.0"
flake8 = "^7.0.0"
flake8-pyproject = "^1.2.3"
pytest = ">=7.2.2,<9.0.0"
flapi = "^1.0.1"
[tool.flake8]
exclude = [
'.git',
'__pycache__',
'old',
'build',
'dist',
'prebuild_docs',
'build_lib',
]
ignore = ['E501', 'W503']
[tool.mypy]
check_untyped_defs = true
files = ["src", "scripts", "data"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"