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.

Source Distribution

yt.recipe.relativeworkaround-0.0.2.tar.gz (2.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page