Skip to main content

A buildout recipe to add in shell commands

Project description

# yt.recipe.relativeworkaround

This is a buildout recipe that will fix an annoying with buildout: when the
relative-paths options is turned on, it will still use the absolute path when referencing
the buildout root:

# buildout.cfg
[buildout]
relative-paths = true

[scripts]
recipe = z3c.recipe.scripts:scripts
eggs =
fabric
interpreter = python


The result is absloute paths still added in various places:

$ cat parts/scripts/site.py | grep `pwd`
'/Users/yusuket/stash/TOOL/shipit'


Run this recipe at the end of your build, and it will do it's best to
correct them to the proper values.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
yt.recipe.relativeworkaround-0.0.2.tar.gz (2.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page