https://github.com/lostintime/chef-pythonbrew
Chef Cookbook for pythonbrew installation and managing pythons/virtualenvs
https://github.com/lostintime/chef-pythonbrew
Last synced: over 1 year ago
JSON representation
Chef Cookbook for pythonbrew installation and managing pythons/virtualenvs
- Host: GitHub
- URL: https://github.com/lostintime/chef-pythonbrew
- Owner: lostintime
- Created: 2013-03-13T15:13:40.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-03-31T19:07:33.000Z (over 13 years ago)
- Last Synced: 2025-01-21T17:14:14.868Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 193 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
pythonbrew Cookbook
===================
Installs pythonbrew for specified user
Requirements
------------
`patch`, `curl`, and `sed` utilities required
Attributes
----------
Key
Type
Description
Default
['pythonbrew']['user']
String
System user to install pythonbrew for. If is set to "root" (default) - will install system-wide.
root
['pythonbrew']['HOME']
String
User home path. For "root" user - "/root" path is hardcoded.
/home/%user%
['pythonbrew']['setups']
Arrau
Array of python brew installations, check attributes/default.rb for example.
[]
Usage
-----
Include `pythonbrew` in your node's `run_list` and add "setups" to configuration:
{
"name":"my_node",
"run_list": [
"recipe[pythonbrew]"
],
"pythonbrew": {
"setups": [
{
"user": "vagrant",
"python_version": "2.7.3",
"python_is_default": true,
"venv": "my_site",
"packages": ["pymongo", {"name": "django", "version": "1.1.4"}]
}
]
}
}
Contributing
------------
1. Fork the repository on Github
2. Create a named feature branch (like `add_component_x`)
3. Write you change
4. Write tests for your change (if applicable)
5. Run the tests, ensuring they all pass
6. Submit a Pull Request using Github
License and Authors
-------------------
Authors:
Licensed under MIT license
http://opensource.org/licenses/MIT