FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pythonnative/src/pythonnative/project/__init__.py at v0.43.1 · pythonnative/pythonnative · GitHub
pythonnative
pythonnative
Repository navigation
Code
Issues
11
(11)
Pull requests
4
(4)
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
pythonnative
/
src
/
pythonnative
/
project
/
__init__.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
68 lines (63 loc) · 2.02 KB
Breadcrumbs
pythonnative
/
src
/
pythonnative
/
project
/
__init__.py
Copy path
File metadata and controls
68 lines (63 loc) · 2.02 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
"""App project model and build system for PythonNative.
This package turns a declarative ``pythonnative.toml`` into real,
branded, installable native apps. It is the engine behind the ``pn``
CLI's ``run``, ``build``, and ``doctor`` commands, split into focused,
independently-testable modules:
- [`config`][pythonnative.project.config]: parse/validate the TOML into a
typed [`AppConfig`][pythonnative.project.config.AppConfig].
- [`permissions`][pythonnative.project.permissions]: map declarative
capabilities to native permission artifacts.
- [`android`][pythonnative.project.android] /
[`ios`][pythonnative.project.ios]: configure the staged native
templates for a specific app (identity, permissions, branding).
- [`icons`][pythonnative.project.icons]: generate icons and splash
assets.
- [`runtime_assets`][pythonnative.project.runtime_assets]: acquire the
embedded iOS CPython runtime.
- [`builder`][pythonnative.project.builder]: orchestrate staging,
configuration, and the native toolchains.
- [`doctor`][pythonnative.project.doctor]: diagnose the local toolchain.
Most users interact with this package only through the ``pn`` CLI, but
the API is public and stable enough to script against.
"""
from
.
builder
import
(
BuildArtifacts
,
Builder
,
BuildError
,
CommandResult
,
CommandRunner
,
PreparedProject
,
SubprocessRunner
,
)
from
.
config
import
(
AndroidConfig
,
AndroidSigning
,
AppConfig
,
ConfigError
,
IOSConfig
,
IOSSigning
,
entrypoint_to_module
,
render_default_toml
,
)
from
.
permissions
import
CAPABILITIES
,
Capability
,
ResolvedPermissions
,
resolve_permissions
__all__
=
[
"AppConfig"
,
"ConfigError"
,
"IOSConfig"
,
"IOSSigning"
,
"AndroidConfig"
,
"AndroidSigning"
,
"entrypoint_to_module"
,
"render_default_toml"
,
"Capability"
,
"CAPABILITIES"
,
"ResolvedPermissions"
,
"resolve_permissions"
,
"Builder"
,
"BuildError"
,
"BuildArtifacts"
,
"PreparedProject"
,
"CommandRunner"
,
"SubprocessRunner"
,
"CommandResult"
,
]
Back
|
FazBrowse Home
|
New Git URL