candy-0.1.0a1
توضیحات
Package/Library Manager for Android Apps
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Unix |
| نام فایل | candy-0.1.0a1 |
| نام | candy |
| نسخه کتابخانه | 0.1.0a1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Mingyuan Xia |
| ایمیل نویسنده | UNKNOWN |
| آدرس صفحه اصلی | https://github.com/mingyuan-xia/candy |
| آدرس اینترنتی | https://pypi.org/project/candy/ |
| مجوز | Apache v2 |
# candy
The Package/Library Manager for Android Apps
`candy` can automatically add permissions and gradle dependencies to the app project.
To install candy, simply type: `pip install candy`.
## App developer
An example to use candy to install a new package to the app project
```
cd /path/to/your/project
candy install acra
```
The full usage guide:
```
candy - the package/library manager for Android apps
Commands:
install <package_name> - install a new package to the current project
uninstall <package_name> - uninstall a given package from the current project
search <package_name> - search a package in all known registries
```
## Package/Library developer
If you are a package/library developer and want `candy` to automate installation, you can
prepare a `candy.json` file under your package root, like this:
```json
{
"name": "acra",
"version": "4.7.0",
"description": "Application Crash Reports for Android",
"author": "Kevin Gaudin",
"contributors": [
],
"keywords": [
"bugreporting",
"android",
"devtool"
],
"license": "Apache License v2",
"usageGuide": "https://github.com/ACRA/acra/wiki/BasicSetup",
"require_permissions": [
"android.permission.INTERNET",
"android.permission.READ_PHONE_STATE"
],
"url": "https://github.com/ACRA/acra",
"gradle_depends": [
"ch.acra:acra:4.7.0+"
]
}
```
If you have experience with `npm`, you should find this familiar with [`package.json`](http://browsenpm.org/package.json)
نحوه نصب
نصب پکیج whl candy-0.1.0a1:
pip install candy-0.1.0a1.whl
نصب پکیج tar.gz candy-0.1.0a1:
pip install candy-0.1.0a1.tar.gz