The Artima Developer Community
Sponsored Link

Weblogs Forum
Python Decorators III: A Decorator-Based Build System

19 replies on 2 pages. Most recent reply: Apr 29, 2014 9:23 AM by Andy Doddington

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 19 replies on 2 pages [ « | 1 2 ]
Dmitry Cheryasov

Posts: 16
Nickname: dch
Registered: Apr, 2007

Re: Python Decorators III: A Decorator-Based Build System Posted: Nov 4, 2008 8:26 AM
Reply to this message Reply
Advertisement
In SCons, you can return lists of files from target rules and depend on these files, not known beforehand. Probably the system presented in the post can follow this convention.

Dirk Detering

Posts: 16
Nickname: det
Registered: Jul, 2005

Re: Python Decorators III: A Decorator-Based Build System Posted: Nov 6, 2008 8:00 AM
Reply to this message Reply
Bruce, regarding Ant (for Java building), Rake (for being on Top of a PL), Python (for staying in same language):

Perhaps you should have a look at gradle (http://www.gradle.org), an upcoming build tool even fit for larger projects. Primarily built on Groovy yet, the author's idea is to provide eventually a Java core and let it be used by other languages (see roadmap: "Supporting multiple languages for build scripts (e.g. JRuby, Jython)" ).

Bruce Eckel

Posts: 875
Nickname: beckel
Registered: Jun, 2003

Re: Python Decorators III: A Decorator-Based Build System Posted: Nov 6, 2008 12:12 PM
Reply to this message Reply
Yes, I'll have a look at that for ideas.

I'm actually using and liking my build system for the Python book, although I've also been discovering more ways it needs to be modified. So I'll be doing a redesign.

I do find it quite delightful to be able to live in Python mode for the build system, rather than changing gears. After many years of using make, it's very pleasant to know I don't have to think "how do you do this in make" and worse "I wonder if it's even possible to do this?" but just to write Python.

Robert Price

Posts: 1
Nickname: bobp0303
Registered: Nov, 2008

Re: Python Decorators III: A Decorator-Based Build System Posted: Nov 6, 2008 4:01 PM
Reply to this message Reply
Looks like you're building ANTLR in Python, although I like the comment about dependency requirements being very important to anything above the toy level.

Andy Doddington

Posts: 2
Nickname: andyd
Registered: Apr, 2014

Re: Python Decorators III: A Decorator-Based Build System Posted: Apr 29, 2014 9:23 AM
Reply to this message Reply
Where is the promised "Python Decorators IV" - meant to cover class decorators? Given that Python Decorators III was written in 2008, part IV seems like a long time in coming?

Flat View: This topic has 19 replies on 2 pages [ « | 1  2 ]
Topic: The Cathedral and the Pirate Previous Topic   Next Topic Topic: Windows 8 is ... Not So Bad


Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2014 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us