[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] Fabric 0.0.6

From: Rob Cowie
Subject: Re: [Fab-user] Fabric 0.0.6
Date: Tue, 24 Jun 2008 16:21:48 +0100

The setup.py file can bootstrap an install of setuptools by including the following two lines and bundle ez_setup.py with your package

from ez_setup import use_setuptools

Not ideal if you subscribe to the view that installing libraries on a user machine without permission or warning is reprehensible, but it works.

For a useful overview of setuptools, see 

Rob Cowie

On 24 Jun 2008, at 16:10, Sergey Kirillov wrote:

No, setuptools is not a part of standard python distribution, although a lot of systems have it installed (easy_install is a part of setuptools).

You can find more here http://peak.telecommunity.com/DevCenter/setuptools

Christian Vest Hansen wrote:
Can setuptools be expected to be part of any normal python 2.5
installation out there? If so, why isn't it listed here:
http://docs.python.org/modindex.html ?

On 6/24/08, Sergey Kirillov <address@hidden> wrote:

Hi Christian,

Password-less sudo and key-based authentication works fine

Can you add one minor improvement -- use setuptools instead of distutils. With setuptools I can execute 'sudo setup.py develop' on Git working copy
and test new releases before installing them into /usr/lib/python.

Patch is trivial:
diff --git a/setup.py b/setup.py
index c89bf30..0dbceee 100644
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python

-from distutils.core import setup
+from setuptools import setup

   name = 'Fabric',

Best wishes,

Christian Vest Hansen wrote:

Fabric 0.0.6 has been released.

It's a pretty small release and most of the changes in the git log are
related to the website, which has gotten some new material in the
tutorial, some layout fixing for Firefox, plus some standards
compliance issues have been fixed.

For Fabric itself, here's what's changed:
+ Nummerous small spelling mistakes has been corrected.
+ Python 2.4 compatibility issue with str.partition has been fixed.
+ Support for password-less sudo.
+ Support for key-based authentication has been improved.
+ New getAny() operation that lets you specify a list of variable
names and get the first value that exist.

Also, I got an AUTHORS file now, and credit goes to Jeff Forcier for
some spelling and PEP-8 corrections.

Oh! One more thing: I've taken some steps to (hopefully) improve the installation process with easy_install - it'd be real nice if someone could try out both the upgrade procedure and a clean install to see if
it all works now.

Fab-user mailing list

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]