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 details)

Uploaded Source

File details

Details for the file yt.recipe.relativeworkaround-0.0.2.tar.gz.

File metadata

File hashes

Hashes for yt.recipe.relativeworkaround-0.0.2.tar.gz
Algorithm Hash digest
SHA256 500fdbf0bcca48358fd918d228bae11f3c02a6aa6d25189433f6ae6c82bb2c8c
MD5 88fc8ebf1570bbb441567c1dd35393c0
BLAKE2b-256 54cd4542c2e1cba3b84af358fb241f85c0ae2dcad1ee81cb194a4ca342a78dc6

See more details on using hashes here.

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