Build native mobile apps in python
Project description
enaml-native-cli
Cli for enaml-native. This is for the new build system which allows more modular app builds.
This is used to:
- create new apps
- install and remove app packages and dependencies
- build and run your apps
Now uses conda-mobile for managing app dependencies and works same for iOS and Android. Android apps can also be built on windows!
Installation
Install via pip using the --user
flag.
#: Do either
pip install --user enaml-native-cli
Usage
Start a new enaml-native project. It now uses cookiecutter and will prompt for any required input.
enaml-native create app
It will prompt you for different configuration variables. Most can be left
as is but at a minimum the app_name
and bundle_id
should be changed.
Once done, cd to the app folder (the project name) and activate the app's environment.
cd HelloWorld
# on OSX / linux
source activate HelloWorld
# on windows simply do
activate HelloWorld
Now install any app requirements (or use pip install
and enaml-native link
)
enaml-native install enaml-native-icons
List apps requirements (or use conda list)
enaml-native list
Build and run your app
#: Run the app (or build-android) to build
enaml-native run-android
To add and remove packages or create new packages see the new cross compiling toolchain conda-mobile
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file enaml_native_cli-3.0.0-py3-none-any.whl
.
File metadata
- Download URL: enaml_native_cli-3.0.0-py3-none-any.whl
- Upload date:
- Size: 434.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26687fd52912d10b5fe7cf60c2e686bc17c52fb6c009d2b24a1f646c91056b7c |
|
MD5 | 5aabc47b48d502b13e425763a50d0487 |
|
BLAKE2b-256 | 70ed36bf2b6b864feb90dd3c8889925f24a0f0e862a597e71840674cb52c05fc |