Skip to content

Instantly share code, notes, and snippets.

[tool.poetry]
name = "deploy-dataprepnamics-dag"
version = "0.1.0"
description = ""
authors = ["foo bar <foo@bar.com>"]
[tool.poetry.dependencies]
python = "^3.9"
protobuf = "^3.20.1"

Cookiecutter PyPackage

image

Cookiecutter template for a Python package.

# Largely inspired from (pointing to precise version)
# https://github.com/thejohnfreeman/project-template-python/tree/6d04c7b3b00460bb7473246096c52cc22d403226
# black support portion inspired from (pointing to precise version)
# https://github.com/python/black/blob/4a953b7241ce5f8bcac985fa33fdf3af4f42c0de/pyproject.toml
[tool.poetry]
name = "pyteleinfo"
version = "0.1.5"
description = "A Python library for decoding Teleinfo frames sent by a French electrical meter"
[tool.poetry]
name = "test"
version = "0.1.0"
description = ""
authors = ["Emmanuel Sciara"]
license = "BSD-3-Clause"
[tool.poetry.dependencies]
python = "~3.6"
# Using a similar approach to `tox` (see `setup.cfg` and `tox.ini` files at https://github.com/tox-dev/tox)
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "bento/ubuntu-16.04"
config.vm.network "forwarded_port", guest: 8069, host: 8069, auto_correct: true
config.vm.network "forwarded_port", guest: 5432, host: 5432, auto_correct: true
config.vm.provider "virtualbox" do |vb|
vb.memory = "2048"
end
Generated at 2015-01-13 16:46:19 +0100
RuntimeError: machine[simplest-server] (@recipe_files::/Users/emmanuelsciara/Documents/Development/git-repos/chef-cookbooks/chef-provisioning-examples-pull/simplest_machine.rb line 3) had an error: RuntimeError: Error: command 'chef-client -l debug' exited with code 1.
/Users/emmanuelsciara/.gem/ruby/2.1.5/gems/chef-provisioning-0.17/lib/chef/provisioning/transport/ssh.rb:261:in `error!'
/Users/emmanuelsciara/.gem/ruby/2.1.5/gems/chef-provisioning-0.17/lib/chef/provisioning/machine/basic_machine.rb:31:in `block in execute'
/Users/emmanuelsciara/.gem/ruby/2.1.5/gems/chef-12.0.3/lib/chef/mixin/why_run.rb:52:in `call'
/Users/emmanuelsciara/.gem/ruby/2.1.5/gems/chef-12.0.3/lib/chef/mixin/why_run.rb:52:in `add_action'
/Users/emmanuelsciara/.gem/ruby/2.1.5/gems/chef-12.0.3/lib/chef/provider.rb:180:in `converge_by'
/Users/emmanuelsciara/.gem/ruby/2.1.5/gems/chef-provisioning-0.17/lib/chef/provisioning/chef_provider_action_handler.rb:54:in `perform_action'
/Users/emmanuelsciara
@esciara
esciara / Output
Created December 11, 2014 23:02
Examples in Chef Provisioning 0.16.1 do not seem to work
$ chef-client -z vagrant.rb destroy_all.rb
Starting Chef Client, version 12.0.1
resolving cookbooks for run list: []
Synchronizing Cookbooks:
Compiling Cookbooks...
[2014-12-11T23:50:53+01:00] WARN: Node Ems-MacBook-Pro.local has an empty run list.
Converging 2 resources
Recipe: @recipe_files::/Users/emmanuelsciara/Documents/Development/git-repos/chef-provisioning-test/vagrant.rb
* vagrant_box[precise64] action create (up to date)
Recipe: @recipe_files::/Users/emmanuelsciara/Documents/Development/git-repos/chef-provisioning-test/destroy_all.rb