On Thu, Dec 22, 2011 at 5:53 AM, Alessandro Molina <
[email protected]> wrote:

> Shortened private index urls are an acceptable solution when setting
> up a new environment, what we are still missing is a quick way to
> setup the environment for an existing application. "python setup.py
> develop" has reference to TG in dependency_links but it doesn't work
> as it doesn't work when installing tg.devtools.
> That is the reason why I suggested adding a "python setup.py
> tginstall" command to quickstart setup.cfg so that TG gets correctly
> installed with right dependencies and also the exact version of TG
> required by the project is installed. I have to admit that I have a
> bunch of projects (which are in production with a good amount of
> users) that I created long time ago before getting used to having "pip
> freeze" and I don't even remember on which version of TG they work.
>


I misunderstood what you meant. I thought you were talking about some sort
of separate command that had to be worked on. As you'll see from some
commits I just pushed, we now have a few new commands to be used for
setup.py

If you're working on tg2 itself (or devtools), you can now use these
commands:

python setup.py tgdevelop
python setup.py tgdeps

That will give you all of the testing dependencies and your needed
dependencies, all using our index.

If you're working on a newly quickstarted project, you get three commands:

python setup.py {{modulename}}develop
python setup.py {{modulename}}deps
python setup.py tgupgrade

The first two function the same as tgdevelop and tgdeps, but using your
package's module name (so wiki20 for the Wiki-20 package). The last
downloads everything from the TG index, upgrading it to whatever current is.

I think that should do it. Unless I missed something (which is possible).
What do you think?

-- 
Michael J. Pedersen
My Online Resume: http://www.icelus.org/ -- Google+ http://plus.ly/pedersen
Google Talk: [email protected] -- Twitter: pedersentg

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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/turbogears-trunk?hl=en.

Reply via email to