5

My project uses buildout to do primarily two things: automatically fetch dependencies and create scripts; and setup cron jobs (on deployment machines) using the usercrontab buildout recipe.

But buildout is not yet available for Python 3.

So I would like to consider alternatives for buildout. I know that both virtualenv and pip work on Python 3 - but what is the preferred tool to automate the build toolchain (of creating virtualenv, and automatically installing/upgrading deps)? There is fabric, paver, and so on. What is your preferred tool of choice in this case? It must work seamlessly on both Windows and *nix.

Sridhar Ratnakumar
  • 68,948
  • 61
  • 139
  • 172
  • Out of curiosity, what results from passing buildout through `2to3`? – Amber May 14 '10 at 21:33
  • 1
    There isn't any alternative, as the lack of answers suggest. However, we are working on it. :) zc.buildout is a hard one. – Lennart Regebro Feb 19 '11 at 07:40
  • You mention fabric, paver, and "so on"; have you considered puppet or chef, too? For your specific requirements, is there a particular need for it to be a Python solution? – seb Mar 18 '11 at 10:55
  • I've settled for Fabric - https://github.com/srid/fablib – Sridhar Ratnakumar Mar 21 '11 at 21:41
  • @Sridhar Ratnakumar: You should add that as an answer so this doesn't show up on the list of unanswered questions. – Daenyth Apr 07 '11 at 17:26

2 Answers2

3

Buildout 2 is in alpha at the time of this writing. It supports Python 3.

Sridhar Ratnakumar
  • 68,948
  • 61
  • 139
  • 172
Benji York
  • 1,914
  • 14
  • 20
1

I wrote my own toolset on top of Fabric that does the core of what zc.buildout does. See https://github.com/srid/fablib

Sridhar Ratnakumar
  • 68,948
  • 61
  • 139
  • 172