# HG changeset patch # User ymh # Date 1578573443 -3600 # Node ID c40c501bca19c280709cf9d8adeadae7a90f71b9 # Parent 93d23ea70cede2cdda0a864d7b93a3425490e2eb Add poetry on sync script and add correct fablib dependency diff -r 93d23ea70ced -r c40c501bca19 .hgignore --- a/.hgignore Mon May 11 13:17:20 2015 +0200 +++ b/.hgignore Thu Jan 09 13:37:23 2020 +0100 @@ -13,4 +13,5 @@ ^src/log\.txt$ ^run/log/ ^log$ -^sbin/sync/config\.py$ \ No newline at end of file +^sbin/sync/config\.py$ +^sbin/sync/.venv \ No newline at end of file diff -r 93d23ea70ced -r c40c501bca19 .hgsub --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgsub Thu Jan 09 13:37:23 2020 +0100 @@ -0,0 +1,1 @@ +sbin/sync/fablib = https://www.iri.centrepompidou.fr/dev/hg/fablib diff -r 93d23ea70ced -r c40c501bca19 .hgsubstate --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgsubstate Thu Jan 09 13:37:23 2020 +0100 @@ -0,0 +1,1 @@ +2b492e3056c186904b6a995c1c0cdeb786579039 sbin/sync/fablib diff -r 93d23ea70ced -r c40c501bca19 sbin/sync/.envrc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sbin/sync/.envrc Thu Jan 09 13:37:23 2020 +0100 @@ -0,0 +1,3 @@ +layout poetry +export POETRY_VIRTUALENVS_IN_PROJECT=true +export PYTHONPATH=./fablib/src diff -r 93d23ea70ced -r c40c501bca19 sbin/sync/poetry.toml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sbin/sync/poetry.toml Thu Jan 09 13:37:23 2020 +0100 @@ -0,0 +1,2 @@ +[virtualenvs] +in-project = true diff -r 93d23ea70ced -r c40c501bca19 sbin/sync/pyproject.toml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sbin/sync/pyproject.toml Thu Jan 09 13:37:23 2020 +0100 @@ -0,0 +1,13 @@ +[tool.poetry] +name = "sync_ammico" +version = "0.1.0" +description = "" +authors = ["Your Name "] + +[tool.poetry.dependencies] +python = "^2.7" +fabric = ">=1.10.1, <2.0" + +[build-system] +requires = ["poetry>=0.12"] +build-backend = "poetry.masonry.api"