> 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 *
> > 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 *
> 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:
> > 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 *
> 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.
> > 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.
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