Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codelv/enaml-native-cli
CLI and package manager for building enaml-native apps
https://github.com/codelv/enaml-native-cli
android enaml ios python
Last synced: 1 day ago
JSON representation
CLI and package manager for building enaml-native apps
- Host: GitHub
- URL: https://github.com/codelv/enaml-native-cli
- Owner: codelv
- License: gpl-3.0
- Created: 2017-10-30T18:07:55.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-09T18:52:06.000Z (over 1 year ago)
- Last Synced: 2024-12-25T00:52:56.376Z (2 days ago)
- Topics: android, enaml, ios, python
- Language: Python
- Homepage: https://www.codelv.com/projects/enaml-native/
- Size: 8.75 MB
- Stars: 13
- Watchers: 9
- Forks: 7
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# enaml-native-cli
[![Build Status](https://travis-ci.org/codelv/enaml-native-cli.svg?branch=master)](https://travis-ci.org/codelv/enaml-native-cli) [![Downloads](https://pepy.tech/badge/enaml-native-cli)](https://pepy.tech/project/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 appsNow 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 HelloWorld# on windows simply do
activate HelloWorld```
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)