I said I would get this done this weekend, so here it is:

If you check out go-pylons.txt and the README.txt, it shows that I
simply added a resource directory that will contain all of the code
for a framework.  Next I added these lines to the go-pylons.py
boostrap script:

#hack to install local source code
   path = "resources"
   for dir in os.listdir(path):
       source_dir = "%s/%s" % (path,dir)
       subprocess.call([join(bin_dir, 'easy_install'),
       source_dir])

This should work for any framework, but I need to write something to
parse a setup.py and then run:
easy_install -eb resources "found egg"
"found egg" being the egg found in setup.py

http://bitbucket.org/noahgift/bootstrap_pylons/

At this point it only took about 5 lines a code, but if we want to
automatically parse setup.py it may take a bit more work.  I wonder
what Ian thinks of this?  Anyone feel free to slice, and dice, and
fix.
-- 
Cheers,

Noah

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to