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 ./venv
# on windows simply do
activty venv
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-2.3.1-py2.py3-none-any.whl
.
File metadata
- Download URL: enaml_native_cli-2.3.1-py2.py3-none-any.whl
- Upload date:
- Size: 365.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e561af1d35250a1b112e532c4235857bfe759bae2710e5f05fc0c00f61429059 |
|
MD5 | 8a851f5f6a3631970634a5afc057fb97 |
|
BLAKE2b-256 | 0076bbd3460ac43f95bee89507d3fa521386e548cf7085d9bdde1af4498fe06e |