# pyflutterinstall
[![Win_Tests](https://github.com/zackees/pyflutterinstall/actions/workflows/push_win.yml/badge.svg)](https://github.com/zackees/pyflutterinstall/actions/workflows/push_win.yml)
[![Win_FullInstall](https://github.com/zackees/pyflutterinstall/actions/workflows/push_win_fullinstall.yml/badge.svg)](https://github.com/zackees/pyflutterinstall/actions/workflows/push_win_fullinstall.yml)
[![MacOS_Tests](https://github.com/zackees/pyflutterinstall/actions/workflows/push_macos.yml/badge.svg)](https://github.com/zackees/pyflutterinstall/actions/workflows/push_macos.yml)
[![MacOS_Fullinstall](https://github.com/zackees/pyflutterinstall/actions/workflows/push_macos_fullinstall.yml/badge.svg)](https://github.com/zackees/pyflutterinstall/actions/workflows/push_macos_fullinstall.yml)
[![Mac_arm_Fullinstall](https://github.com/zackees/pyflutterinstall/actions/workflows/push_macos_arm_fullinstall.yml/badge.svg)](https://github.com/zackees/pyflutterinstall/actions/workflows/push_macos_arm_fullinstall.yml)
[![Ubuntu_Tests](https://github.com/zackees/pyflutterinstall/actions/workflows/push_ubuntu.yml/badge.svg)](https://github.com/zackees/pyflutterinstall/actions/workflows/push_ubuntu.yml)
[![Ubuntu_Fullinstall](https://github.com/zackees/pyflutterinstall/actions/workflows/push_ubuntu_fullinstall.yml/badge.svg)](https://github.com/zackees/pyflutterinstall/actions/workflows/push_ubuntu_fullinstall.yml)
Installs all dependencies for pyflutter/AndroidSDK on Windows.
```bash
pip install pyflutterinstall
cd <DIRECTORY YOU WANT TO INSTALL>
pyflutterinstall
```
The SDK will be installed at `FlutterSDK`
Use this tool if you need to:
* Install FlutterSDK
* -or- Install the AndroidSDK
Your path will be updated with the dependencies so that you can execute `sdkmanager`, `adb`, `emulator` and the like.
# Why?
Installing the Android SDK toolchain is **hard**! This tool takes care of all of this for
Windows/Linux/MacOS and does it in a fully automated way. This is great for reproducabilty of tool chain install across your
team.
#### Versions
* Android API: 33
* Java: 20
* Flutter: <TODO>
Usage
```bash
> pip install pyflutterinstall
> pyflutterinstall
```
# Releases
* 1.4.2: Better better file deletion attempts for --remove.
* 1.4.1: Adds build tools to the path, enabling aapt and aapt2 and others.
* 1.4.0: Remove the trampoline hack, now sets paths properly thanks to setenvironment 2.0
* 1.2.7: Use a trampoline for apkanalyzer to fix missing class paths
* 1.2.6: Java trampoline fixed for Mac OSX
* 1.2.5: Java is now jdk v17 by default
* 1.2.4: Java v11.0.2 -> v11.0.18 (fixes OkHttp3 bug)
* 1.2.2: Fixes for sdkmanager.
* 1.2.1: Fixes for avdmanager.
* 1.2.0: Now uses shims for adb, avdmanager, emulator, gradle, java, sdkmanager
* 1.1.3: Fix 1.1.2
* 1.1.2: Adds --install-dir option to install to a specific directory.
* 1.1.1: Expose the post_run testing function to test environments.
* 1.1.0: Adds ant install.
* 1.0.10: Emulator tools now installed on path.
* 1.0.9: adb is now installed on the path.
* 1.0.8: Gradle upgrade to 7.5, JDK is downgraded to 9.
* 1.0.7: Windows now uses user environment variables to avoid elevated privileges.
* 1.0.6: Fix macos install.
* 1.0.5: Gradle is now installed as well.
* 1.0.3: Uses pexpect to run commands.
* 1.0.2: MacOS: now installs cocoapods dependency.
* 1.0.1: Update setenvironment to 1.0.9 to get expanded paths.
* 1.0.0: Windows, Mac and Linux now supported and all tests pass.
* 0.0.2: Automated tests for windows.
* 0.0.1: Initial release - windows supported.
# TODO
* [ ] Integrate the Windows Universal bridge driver for devices:
* https://adb.clockworkmod.com/
Raw data
{
"_id": null,
"home_page": "https://github.com/zackees/pyflutterinstall",
"name": "pyflutterinstall",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "android,install,flutter,android sdk",
"author": "",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/9d/c0/dea941d596f9e1bc9ed130888d12ef426258008a5e751d6322d0b3636d3b/pyflutterinstall-1.4.2.tar.gz",
"platform": null,
"description": "# pyflutterinstall\r\n\r\n[![Win_Tests](https://github.com/zackees/pyflutterinstall/actions/workflows/push_win.yml/badge.svg)](https://github.com/zackees/pyflutterinstall/actions/workflows/push_win.yml)\r\n[![Win_FullInstall](https://github.com/zackees/pyflutterinstall/actions/workflows/push_win_fullinstall.yml/badge.svg)](https://github.com/zackees/pyflutterinstall/actions/workflows/push_win_fullinstall.yml)\r\n[![MacOS_Tests](https://github.com/zackees/pyflutterinstall/actions/workflows/push_macos.yml/badge.svg)](https://github.com/zackees/pyflutterinstall/actions/workflows/push_macos.yml)\r\n[![MacOS_Fullinstall](https://github.com/zackees/pyflutterinstall/actions/workflows/push_macos_fullinstall.yml/badge.svg)](https://github.com/zackees/pyflutterinstall/actions/workflows/push_macos_fullinstall.yml)\r\n[![Mac_arm_Fullinstall](https://github.com/zackees/pyflutterinstall/actions/workflows/push_macos_arm_fullinstall.yml/badge.svg)](https://github.com/zackees/pyflutterinstall/actions/workflows/push_macos_arm_fullinstall.yml)\r\n[![Ubuntu_Tests](https://github.com/zackees/pyflutterinstall/actions/workflows/push_ubuntu.yml/badge.svg)](https://github.com/zackees/pyflutterinstall/actions/workflows/push_ubuntu.yml)\r\n[![Ubuntu_Fullinstall](https://github.com/zackees/pyflutterinstall/actions/workflows/push_ubuntu_fullinstall.yml/badge.svg)](https://github.com/zackees/pyflutterinstall/actions/workflows/push_ubuntu_fullinstall.yml)\r\n\r\nInstalls all dependencies for pyflutter/AndroidSDK on Windows.\r\n\r\n```bash\r\npip install pyflutterinstall\r\ncd <DIRECTORY YOU WANT TO INSTALL>\r\npyflutterinstall\r\n```\r\nThe SDK will be installed at `FlutterSDK`\r\n\r\nUse this tool if you need to:\r\n * Install FlutterSDK\r\n * -or- Install the AndroidSDK\r\n \r\nYour path will be updated with the dependencies so that you can execute `sdkmanager`, `adb`, `emulator` and the like.\r\n \r\n# Why?\r\n\r\nInstalling the Android SDK toolchain is **hard**! This tool takes care of all of this for\r\nWindows/Linux/MacOS and does it in a fully automated way. This is great for reproducabilty of tool chain install across your\r\nteam.\r\n\r\n\r\n#### Versions\r\n\r\n * Android API: 33\r\n * Java: 20\r\n * Flutter: <TODO>\r\n\r\nUsage\r\n```bash\r\n> pip install pyflutterinstall\r\n> pyflutterinstall\r\n```\r\n\r\n# Releases\r\n * 1.4.2: Better better file deletion attempts for --remove.\r\n * 1.4.1: Adds build tools to the path, enabling aapt and aapt2 and others.\r\n * 1.4.0: Remove the trampoline hack, now sets paths properly thanks to setenvironment 2.0\r\n * 1.2.7: Use a trampoline for apkanalyzer to fix missing class paths\r\n * 1.2.6: Java trampoline fixed for Mac OSX\r\n * 1.2.5: Java is now jdk v17 by default\r\n * 1.2.4: Java v11.0.2 -> v11.0.18 (fixes OkHttp3 bug)\r\n * 1.2.2: Fixes for sdkmanager.\r\n * 1.2.1: Fixes for avdmanager.\r\n * 1.2.0: Now uses shims for adb, avdmanager, emulator, gradle, java, sdkmanager\r\n * 1.1.3: Fix 1.1.2\r\n * 1.1.2: Adds --install-dir option to install to a specific directory.\r\n * 1.1.1: Expose the post_run testing function to test environments.\r\n * 1.1.0: Adds ant install.\r\n * 1.0.10: Emulator tools now installed on path.\r\n * 1.0.9: adb is now installed on the path.\r\n * 1.0.8: Gradle upgrade to 7.5, JDK is downgraded to 9.\r\n * 1.0.7: Windows now uses user environment variables to avoid elevated privileges.\r\n * 1.0.6: Fix macos install.\r\n * 1.0.5: Gradle is now installed as well.\r\n * 1.0.3: Uses pexpect to run commands.\r\n * 1.0.2: MacOS: now installs cocoapods dependency.\r\n * 1.0.1: Update setenvironment to 1.0.9 to get expanded paths.\r\n * 1.0.0: Windows, Mac and Linux now supported and all tests pass.\r\n * 0.0.2: Automated tests for windows.\r\n * 0.0.1: Initial release - windows supported.\r\n\r\n# TODO\r\n * [ ] Integrate the Windows Universal bridge driver for devices:\r\n * https://adb.clockworkmod.com/\r\n",
"bugtrack_url": null,
"license": "BSD 3-Clause License",
"summary": "Installs Android studio and everything using the flutter doctor command.",
"version": "1.4.2",
"project_urls": {
"Homepage": "https://github.com/zackees/pyflutterinstall"
},
"split_keywords": [
"android",
"install",
"flutter",
"android sdk"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "227d1062efccd3e4131f9769f3eea4d999221c1eff72306be6a7e2c7c9e932bc",
"md5": "719790beb9d84a0d4ec10c79082b3873",
"sha256": "5236b249bf6621752256015c4ee76a7581df52d0d18b06cbd0f9db461dbe34a0"
},
"downloads": -1,
"filename": "pyflutterinstall-1.4.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "719790beb9d84a0d4ec10c79082b3873",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.9",
"size": 2137730,
"upload_time": "2023-10-15T19:09:26",
"upload_time_iso_8601": "2023-10-15T19:09:26.907546Z",
"url": "https://files.pythonhosted.org/packages/22/7d/1062efccd3e4131f9769f3eea4d999221c1eff72306be6a7e2c7c9e932bc/pyflutterinstall-1.4.2-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9dc0dea941d596f9e1bc9ed130888d12ef426258008a5e751d6322d0b3636d3b",
"md5": "f0a77f66e78a3fb3321c8f48e7d02ca8",
"sha256": "76a84f938c040ba49373ea68469ac2d6f0bb1177f327ba590fd42b4712a61927"
},
"downloads": -1,
"filename": "pyflutterinstall-1.4.2.tar.gz",
"has_sig": false,
"md5_digest": "f0a77f66e78a3fb3321c8f48e7d02ca8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 2140672,
"upload_time": "2023-10-15T19:09:31",
"upload_time_iso_8601": "2023-10-15T19:09:31.769644Z",
"url": "https://files.pythonhosted.org/packages/9d/c0/dea941d596f9e1bc9ed130888d12ef426258008a5e751d6322d0b3636d3b/pyflutterinstall-1.4.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-15 19:09:31",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "zackees",
"github_project": "pyflutterinstall",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "download",
"specs": []
},
{
"name": "colorama",
"specs": []
},
{
"name": "setenvironment",
"specs": [
[
">=",
"2.0.0"
]
]
},
{
"name": "appdirs",
"specs": [
[
">=",
"1.4.4"
]
]
}
],
"tox": true,
"lcname": "pyflutterinstall"
}