Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
paver sdist
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Expand all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
percious  
View profile  
 More options Oct 15 2008, 3:04 pm
From: percious <ch...@percious.com>
Date: Wed, 15 Oct 2008 12:04:12 -0700 (PDT)
Local: Wed, Oct 15 2008 3:04 pm
Subject: paver sdist
So, I made a staticxml sdist that just installs xml in a static manner
into a venv.

The problem is that I tried to create an sdist, and paver is not
copying minilib or pavement.py into the distributable package.

Should I force this to happen in some way, or am I doing something
wrong?

-chris


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Dangoor  
View profile  
 More options Oct 15 2008, 3:08 pm
From: Kevin Dangoor <dang...@gmail.com>
Date: Wed, 15 Oct 2008 15:08:18 -0400
Local: Wed, Oct 15 2008 3:08 pm
Subject: Re: [paver] paver sdist
On Oct 15, 2008, at 3:04 PM, percious wrote:

> So, I made a staticxml sdist that just installs xml in a static manner
> into a venv.

> The problem is that I tried to create an sdist, and paver is not
> copying minilib or pavement.py into the distributable package.

> Should I force this to happen in some way, or am I doing something
> wrong?

Are you using svn? If so, the pavement.py should be included. The  
problem is that Paver doesn't do any monkeying with the MANIFEST  
itself. It probably should.

You should create a MANIFEST.in to catch anything that needs to be  
included but is not. Here's Paver's:

include metainfo.py
include LICENSE.txt
include scripts/*
recursive-include paver/docs *
include paver-minilib.zip
include setup.py
recursive-include paver/tests *

Kevin


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
percious  
View profile  
 More options Oct 15 2008, 3:17 pm
From: percious <ch...@percious.com>
Date: Wed, 15 Oct 2008 12:17:39 -0700 (PDT)
Local: Wed, Oct 15 2008 3:17 pm
Subject: Re: paver sdist
Great Kevin,

In fact, this project is not yet in svn, and I am uncertain where to
put it, perhaps repoze...  But you definitely fixed my problem.

thanks,
chris

On Oct 15, 1:08 pm, Kevin Dangoor <dang...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
percious  
View profile  
 More options Oct 20 2008, 12:52 pm
From: percious <ch...@percious.com>
Date: Mon, 20 Oct 2008 09:52:41 -0700 (PDT)
Local: Mon, Oct 20 2008 12:52 pm
Subject: Re: paver sdist
Ok, so I got staticlxml working for anyone that wants it.

for some reason, the package will not easy_install directly from pypi.

To install:

activate your virtualenv!

curl http://pypi.python.org/packages/source/s/staticlxml/staticlxml-0.1.0....
| tar xfz -
cd staticlxml-0.1.0
python setup.py install

...
a whole bunch of stuff will compile
...

python

>>> import lxml.etree

...
happiness.

Kevin, if you could take a look at why easy_install staticlxml does
not work, I would be very apprciative.

cheers.
-chris
On Oct 15, 1:17 pm, percious <ch...@percious.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Dangoor  
View profile  
 More options Oct 20 2008, 9:31 pm
From: Kevin Dangoor <dang...@gmail.com>
Date: Mon, 20 Oct 2008 21:31:38 -0400
Local: Mon, Oct 20 2008 9:31 pm
Subject: Re: [paver] Re: paver sdist
On Oct 20, 2008, at 12:52 PM, percious wrote:

> Ok, so I got staticlxml working for anyone that wants it.

That's a beautiful thing. (Truth be told, though, lxml is not hard to  
install now if you have MacPorts. This is just much easier and doesn't  
require MacPorts)

> Kevin, if you could take a look at why easy_install staticlxml does
> not work, I would be very apprciative.

I am totally slammed right now. I would be interested in taking a  
look, but I think I'm going to be running at full speed up until  
PyWorks.

Kevin


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
percious  
View profile  
 More options Oct 23 2008, 11:08 pm
From: percious <ch...@percious.com>
Date: Thu, 23 Oct 2008 20:08:31 -0700 (PDT)
Local: Thurs, Oct 23 2008 11:08 pm
Subject: Re: paver sdist
staticlxml no longer requires a virtualenv, although I highly
recommend using virtualenv.  (keep that global python clean!)

On Oct 20, 7:31 pm, Kevin Dangoor <dang...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
davisagli  
View profile  
 More options Nov 8 2008, 7:29 pm
From: davisagli <dgl...@gmail.com>
Date: Sat, 8 Nov 2008 16:29:18 -0800 (PST)
Local: Sat, Nov 8 2008 7:29 pm
Subject: Re: paver sdist
On Oct 23, 7:08 pm, percious <ch...@percious.com> wrote:

> staticlxmlno longer requires a virtualenv, although I highly
> recommend using virtualenv.  (keep that global python clean!)

I am unable to install staticlxml using easy_install.

1. First error:

  File "/usr/local/lib/python2.4/site-packages/setuptools-0.6c9-
py2.4.egg/setuptools/sandbox.py", line 29, in <lambda>
    {'__file__':setup_script, '__name__':'__main__'}
  File "setup.py", line 6, in ?
ImportError: No module named paver.command

I worked around this by easy_installing paver.

2. Second error:

Searching for staticlxml
Reading http://pypi.python.org/simple/staticlxml/
Reading http://www.percious.com
Best match: staticlxml 0.1.2
Downloading http://pypi.python.org/packages/source/s/staticlxml/staticlxml-0.1.2....
Processing staticlxml-0.1.2.tar.gz
Running staticlxml-0.1.2/setup.py -q bdist_egg --dist-dir /tmp/
easy_install-69FBgc/staticlxml-0.1.2/egg-dist-tmp-vehHIU
error: Setup script exited with usage: setup.py [options]
requirement_or_url ...
   or: setup.py --help

error: option --dist-dir not recognized

What's going on?

thanks,
David


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google