Build native mobile apps in python
Project description
# enaml-native-cli
[![Build Status](https://travis-ci.org/codelv/enaml-native-cli.svg?branch=master)](https://travis-ci.org/codelv/enaml-native-cli)
Cli for [enaml-native](https://github.com/codelv/enaml-native). This is for the new build
system which allows more modular app builds.
This is used to:
1. create new apps
2. install and remove app packages and dependencies
3. build and run your apps
Now uses [conda-mobile](https://github.com/codelv/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.
```bash
#: Do either
pip install --user enaml-native-cli
```
### Usage
Start a new enaml-native project. It now uses [cookiecutter](http://cookiecutter.readthedocs.io/)
and will prompt for any required input.
```bash
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.
```bash
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`)
```bash
enaml-native install enaml-native-icons
```
List apps requirements (or use conda list)
```bash
enaml-native list
```
Build and run your app
```bash
#: 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](https://github.com/codelv/conda-mobile)
[![Build Status](https://travis-ci.org/codelv/enaml-native-cli.svg?branch=master)](https://travis-ci.org/codelv/enaml-native-cli)
Cli for [enaml-native](https://github.com/codelv/enaml-native). This is for the new build
system which allows more modular app builds.
This is used to:
1. create new apps
2. install and remove app packages and dependencies
3. build and run your apps
Now uses [conda-mobile](https://github.com/codelv/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.
```bash
#: Do either
pip install --user enaml-native-cli
```
### Usage
Start a new enaml-native project. It now uses [cookiecutter](http://cookiecutter.readthedocs.io/)
and will prompt for any required input.
```bash
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.
```bash
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`)
```bash
enaml-native install enaml-native-icons
```
List apps requirements (or use conda list)
```bash
enaml-native list
```
Build and run your app
```bash
#: 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](https://github.com/codelv/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
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file enaml_native_cli-2.2.4-py2.py3-none-any.whl
.
File metadata
- Download URL: enaml_native_cli-2.2.4-py2.py3-none-any.whl
- Upload date:
- Size: 311.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1ef9e93186f59a753095997de50b5007eb3baf888a5491828b67e3323eea187 |
|
MD5 | 92801a9802cbf4db796e04366d0c419a |
|
BLAKE2b-256 | 729f348e7435e75a36bb517f1f9c9a2ea9370b3654af647b6e9bbc5cdf4ff90b |