I revisited setuptools again tonight hoping to learn a bit more about it.
Unfortunately I'm still stuck where I was last time I looked.
I'm using Combinator to manage my Python libraries. This means that I have
a fair amount of software installed at ~/.local/lib/pythonX.Y/site-packages, a
PYTH
On Mon, 16 Oct 2006 23:11:05 -0400, "Phillip J. Eby" <[EMAIL PROTECTED]> wrote:
>At 09:19 PM 10/16/2006 -0400, Jean-Paul Calderone wrote:
>>I revisited setuptools again tonight hoping to learn a bit more about it.
>>Unfortunately I'm still stuck where I wa
On Tue, 17 Oct 2006 11:32:13 -0400, "Phillip J. Eby" <[EMAIL PROTECTED]> wrote:
> [snip]
>
>You're right, this configuration isn't really supported well. easy_install
>expects non-PYTHONPATH site dirs to be supported by Python itself, not by a
>PYTHONPATH dir causing the other one to be loaded.
On Tue, 17 Oct 2006 11:43:07 -0400, Jean-Paul Calderone <[EMAIL PROTECTED]>
wrote:
>On Tue, 17 Oct 2006 11:32:13 -0400, "Phillip J. Eby" <[EMAIL PROTECTED]> wrote:
>> [snip]
>>
>>You're right, this configuration isn't really supported well.
On Sun, 14 Oct 2007 19:42:12 +0200, andy nicholson <[EMAIL PROTECTED]> wrote:
> [snip]
>
>I get another error for Twisted :
>Searching for Twisted>=2.5
>Reading http://download.bittorrent.com/dl/
>Reading http://cheeseshop.python.org/pypi/Twisted/
>Reading http://twistedmatrix.com/
>Reading http://
On Sat, 26 Apr 2008 03:49:34 -0700, Andrew Straw <[EMAIL PROTECTED]> wrote:
I would like to announce the release of stdeb 0.2.
= What is it? =
stdeb http://stdeb.python-hosting.com/ ("setuptools debian") produces Debian
source packages from Python packages via a new distutils command, sdist_ds
On Sat, 26 Apr 2008 13:02:46 -0700, Andrew Straw <[EMAIL PROTECTED]> wrote:
Jean-Paul Calderone wrote:
On Sat, 26 Apr 2008 03:49:34 -0700, Andrew Straw <[EMAIL PROTECTED]>
wrote:
I would like to announce the release of stdeb 0.2.
Cool. I gave this a try on Twisted. Here
On Tue, 30 Sep 2008 23:32:14 +0200, Josselin Mouette <[EMAIL PROTECTED]> wrote:
[snip]
The marketing name does not have to be the same of the name of the
module you import. The situation where they differ is even quite common.
You can also argue for separating the name from the API version, lik
On Tue, 7 Oct 2008 13:12:03 +0100, Floris Bruynooghe <[EMAIL PROTECTED]> wrote:
On Tue, Oct 07, 2008 at 08:01:28AM -0400, Jean-Paul Calderone wrote:
On Tue, 07 Oct 2008 09:57:56 +0200, Josselin Mouette <[EMAIL PROTECTED]> wrote:
Case 2: twisted. Plugins, consisting of a few .p
On Tue, 07 Oct 2008 15:19:57 +0200, Josselin Mouette <[EMAIL PROTECTED]> wrote:
Le mardi 07 octobre 2008 à 08:58 -0400, Jean-Paul Calderone a écrit :
I don't think the details of the plugin system are relevant to the topic
under discussion here. The installation requirements are
On Tue, 07 Oct 2008 09:57:56 +0200, Josselin Mouette <[EMAIL PROTECTED]> wrote:
Case 2: twisted. Plugins, consisting of a few .py files, are shipped in
a plugins/ subdirectory, and its content is dynamically added to
sys.path after some sanity checks (which fail when you add namespace
packages).
On Tue, 07 Oct 2008 17:11:19 +0200, Josselin Mouette <[EMAIL PROTECTED]> wrote:
Le mardi 07 octobre 2008 à 10:02 -0400, Jean-Paul Calderone a écrit :
The expectations of the Nevow developers was that a file included in Nevow,
nevow_widget.py, would be installed to
/usr/lib/python2.
On Wed, 08 Oct 2008 00:03:16 +0200, Josselin Mouette <[EMAIL PROTECTED]> wrote:
Le mercredi 08 octobre 2008 à 08:44 +1100, Ben Finney a écrit :
Josselin Mouette <[EMAIL PROTECTED]> writes:
> About this issue, I still think you need to version your plugins
> directory if the plugins are not comp
On Thu, 18 Dec 2008 16:20:28 +0100, Felix Schwarz wrote:
Phillip J. Eby schrieb:
At 10:17 PM 12/17/2008 +0100, Felix Schwarz wrote:
Ian Bicking schrieb:
Does this work?
#!/usr/bin/env "/path/to/weird path/python"
No (at least not for me).
Did you actually try that, as opposed to the versi
On Fri, 9 Jan 2009 11:46:25 -0500, Jim Fulton wrote:
On Jan 9, 2009, at 10:17 AM, Benji York wrote:
On Fri, Jan 9, 2009 at 10:08 AM, Stephen Emslie
wrote:
A bit OT, but from your blog post on the subject:
I'd like to go further and to think about a ssh-agent like system, so
there's no need
On Thu, 29 Jan 2009 09:35:18 -0500, Barry Warsaw wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jan 29, 2009, at 8:57 AM, Josselin Mouette wrote:
Le mercredi 28 janvier 2009 à 08:07 -0500, Barry Warsaw a écrit :
I'd like to make a radical suggestion: upstream authors should never
hav
On Wed, 22 Apr 2009 11:12:22 +0200, Tarek Ziadé wrote:
Hi,
We worked during Pycon on version comparisons. Distutils has one but
it is a bit strict, setuptools has another one, but it's a bit
heuristic.
We would like to propose the inclusion for Python 2.7 of a new version
comparison algorithm,
On Mon, 27 Apr 2009 09:36:24 -0700, Trent Mick wrote:
Can a constructor which takes each part of the version data
as a separate object be added?
Sounds good, I'd be in favor of making RationalVersion using explicit
version bits,
and having some kind of function:
str2version(somestring) -> Ra
Hello,
I've just noticed that when using setuptools, the name of the file created
by the sdist command changes. The version passed to setup is "0.9.33+r17283"
but the file written is "Nevow-0.9.33-r17283.tar.gz".
This change causes various problems for me. How can I avoid it?
Thanks,
Jean-Pau
Hello,
For a long time, the idiom I've used to specify version information in my
distutils-based packages has been this simple one: put version information
into the Python package somewhere, structure the source layout so that the
package can be imported directly from an unpacked source tarball (
On Tue, 19 May 2009 16:23:16 -0400, "P.J. Eby" wrote:
At 02:21 PM 5/19/2009 -0400, Jean-Paul Calderone wrote:
Hello,
For a long time, the idiom I've used to specify version information in my
distutils-based packages has been this simple one: put version information
into the
On Tue, 19 May 2009 20:49:37 -0400, "P.J. Eby" wrote:
At 04:28 PM 5/19/2009 -0400, Jean-Paul Calderone wrote:
On Tue, 19 May 2009 16:23:16 -0400, "P.J. Eby"
wrote:
At 02:21 PM 5/19/2009 -0400, Jean-Paul Calderone wrote:
What is the recommendation for specifying version
On Wed, 20 May 2009 10:17:31 +1000, Ben Finney
wrote:
Jean-Paul Calderone writes:
For a long time, the idiom I've used to specify version information in my
distutils-based packages has been this simple one: put version information
into the Python package somewhere, structure the s
On Wed, 20 May 2009 12:37:19 +0100, "A. Cavallo"
wrote:
>
> Or my preferred way:
> $cat foobar/__init__.py
> __version__ = "0.9.33"
>
> and import foobar should not trigger code execution anyway IMHO so
> $ python -c 'import foobar; print foobar.__version__'
> 0.9.33
That doesn't work in all
Hi all,
I just noticed that easy_install selects a Windows binary egg when trying to
install pyOpenSSL on Linux. Predictably, this fails:
$ PYTHONPATH=/tmp/junk6 easy_install --install-dir /tmp/junk6 --dry-run
pyOpenSSL
Creating /tmp/junk6/site.py
Searching for pyOpenSSL
Reading http://pypi.py
New submission from Jean-Paul Calderone :
Due to user error, an egg which should have been a Python 2.5 Windows binary egg
got renamed to "pyOpenSSL-0.9.py2.5-winxp32.egg" and uploaded to PyPI.
easy_install will select this egg for installation on Linux, though it is not
usable on tha
On Thu, 21 May 2009 16:52:04 -0400, "P.J. Eby" wrote:
At 01:49 PM 5/21/2009 -0400, Jean-Paul Calderone wrote:
Downloading
http://pypi.python.org/packages/2.5/p/pyOpenSSL/pyOpenSSL-0.9.py2.5-winxp32.egg#md5=38d273a65bae20f527ff8d21c225d10e
What's bizarre is that that
Hello all,
Prior to eggs, if I wanted to have debug and non-debug versions of an
extension module available, I could build and install the extension
twice and the modules would happily co-exist, for example:
$ python setup.py build install
...
$ python-dbg setup.py build install
...
$ .../
On Fri, 22 May 2009 11:33:54 -0400, "P.J. Eby" wrote:
At 09:45 AM 5/22/2009 -0400, Jean-Paul Calderone wrote:
Hello all,
Prior to eggs, if I wanted to have debug and non-debug versions of an
extension module available, I could build and install the extension
twice and the mod
On Fri, 22 May 2009 12:53:40 -0400, Stephen Waterbury
wrote:
[snip]
A data point: I've been using "setup.py develop" with twisted
for over a year now, and it works great for me -- definitely one of
my favorite features of setuptools. I use it with an svn checkout of
twisted so I can always u
On Thu, 11 Jun 2009 21:53:37 +1000, Ben Finney
wrote:
Paul Moore writes:
2009/6/11 Trent Mick :
> # My conclusion/opinion
>
> In so far as the proposed new distutils versioning scheme is to be
> used for enforcing/encouraging versions for packages uploaded to
> PyPI, I don't believe there is
On Thu, 11 Jun 2009 08:15:30 -0600, Zooko Wilcox-O'Hearn
wrote:
On Jun 11, 2009, at 2:37 AM, Paul Moore wrote:
1. From your description of events, and from discussion here, the "post"
tag is clearly the least thought through aspect of all this. So a
proponent of this should step up to justi
On Sun, 14 Jun 2009 09:46:17 +1000, Ben Finney
wrote:
Eric Smith writes:
Ben Finney wrote:
> If the version comparison semantics are such that simple “compare
> non-digits per ASCII, compare digit sequences as integers” works
> within a component, I'm not aware of any distribution downstream
On Mon, 15 Jun 2009 23:08:33 +1000, Ben Finney
wrote:
Floris Bruynooghe writes:
On Mon, Jun 15, 2009 at 08:10:05PM +1000, Ben Finney wrote:
> Well then, I don't see a way forward on the issue of helping
> distributors to manage version numbers sanely. I don't know of any
> operating system p
On Fri, 10 Jul 2009 15:58:32 +0300, Marius Gedminas wrote:
What do people use to avoid repeating the version number both in the
setup.py as well as in application/library code, when the
application/library wants to know its own version number?
I've seen several options:
1) put __version__ = '
On Wed, 15 Jul 2009 04:29:05 -0700 (PDT), Peter Bengtsson
wrote:
I've just made a package
http://pypi.python.org/pypi/premailer
To figure out if I've got it right I've tried installing it like
this::
[snip - install failure log]
The setup.py
(see http://github.com/peterbe/premailer/tree/mast
Hello all,
I'm trying to figure out how to include some extra DLLs which are required
by an extension module I'm trying to package (pyOpenSSL).
From what I can tell, the DLLs need to be in the same directory as the
extension modules themselves (the .pyd files). Does anyone know if this
is the
On Mon, 20 Jul 2009 20:22:41 -0400, "P.J. Eby" wrote:
At 05:55 PM 7/20/2009 -0400, Jean-Paul Calderone wrote:
Hello all,
I'm trying to figure out how to include some extra DLLs which are required
by an extension module I'm trying to package (pyOpenSSL).
From what I can te
On Tue, 21 Jul 2009 09:02:16 -0400, Jean-Paul Calderone
wrote:
On Mon, 20 Jul 2009 20:22:41 -0400, "P.J. Eby"
[snip]
Use package_data instead; it should do the right thing with both distutils
and setuptools. (It is available in the distutils as of Python 2.4; for
2.3 you
On Tue, 21 Jul 2009 09:47:46 -0400, Jean-Paul Calderone
wrote:
On Tue, 21 Jul 2009 09:02:16 -0400, Jean-Paul Calderone
wrote:
On Mon, 20 Jul 2009 20:22:41 -0400, "P.J. Eby"
[snip]
Use package_data instead; it should do the right thing with both distutils
and setuptools. (It is
On Tue, 21 Jul 2009 22:20:15 -0500, Jeff Rush wrote:
David Lyon wrote:
On Tue, 21 Jul 2009 14:12:48 -0400, "P.J. Eby"
wrote:
The concept of "package data" is data in the same directory as the
package's Python code. Using it to install libraries is a bit of a
hack in the first place.
Too ri
On Wed, 22 Jul 2009 16:52:55 +0900, David Cournapeau
wrote:
[snip]
Installing libraries which are not python extensions is indeed quite
difficult ATM, I faced the same problem in numpy recently. Since in
numpy, we have our own distutils extensions, I hacked something to make
it work. A lot of
On Fri, 24 Jul 2009 20:42:29 -0400, David Lyon
wrote:
Tarek,
Recently I suggested having setup.py implemented as
a class and not a procedure.
I posted some notes on http://wiki.python.org/moin/Distutils/Proposals
Do you have any comment?
David,
I think you should flesh out your proposal
On Wed, 29 Jul 2009 09:37:17 +0200, Lennart Regebro wrote:
2009/7/29 Jeff Rush :
Hi David. Not just your post but others here are making assumptions on
your own working environment. Yes there are systems you need to save
disk space on, yes there are systems where you care about I/O
performanc
44 matches
Mail list logo