-
Notifications
You must be signed in to change notification settings - Fork 2
Home
This depends on nvm and node. All three roles are in this repo. By using nvm, we can use the roles on Macs and Ubuntu.
roles:
- { role: nvm, version: 'v0.33.11' }
- { role: node, version: '8.12.0' }
- { role: appium, version: '1.9.2-beta.2' }
The goal is avoiding system Python. Once python and its infra set up, use virtualenv/venv/etc to isolate dependencies per project. This way we can use a single machine (workstations or jenkins agents) for multiple projects.
WARNING: This is for development and build box, probably not suitable for production. Consult your ops!
We have geerlingguy.homebrew as deps. Either use vars below in your playbook, or install them manually with brew
homebrew_installed_packages:
- { name: python@2, install_options: "with-tcl-tk" }
- { name: python@3, install_options: "with-tcl-tk" }
- tcl-tk
We're using dhellmann.python-dev. This is a full blown development setup, using deadsnakes PPA plus development tools. Here's an example:
- { role: dhellmann.python-dev, python_dev_versions: [{version: "2.7"}, {version: "3.7"}], python_dev_install_pypy: false }
If you just want the pythons just use the PPA, and try to copy dhellmann way of installing pip and stuff.