[lxml-dev] egg package upload commands
![](https://secure.gravatar.com/avatar/947c14f160f3305b9e7f54c0cc9708a1.jpg?s=120&d=mm&r=g)
Hi there, I wonder whether I'm doing something wrong, as previously this worked. To verify I'm not doing something stupid, could someone please say this is the proper sequence for uploading the lxml egg? download the tgz from codespeak.net. This contains the .c file that has been created by our special version of Pyrex. Then unpack it, and: $ python2.4 setup.py build [go to lib dir, strip the .so files] $ python2.4 setup bdist_egg $ python2.4 setup upload The last step fails with the following error: error: No dist file created in earlier command Given that I get this with another package too, this means one of two things: I'm doing something wrong, or my version of setuptools has a bug... Regards, Martijn
![](https://secure.gravatar.com/avatar/1833d9a7642a05ddea0d27de72be2e2b.jpg?s=120&d=mm&r=g)
Martijn Faassen wrote:
I wonder whether I'm doing something wrong, as previously this worked. To verify I'm not doing something stupid, could someone please say this is the proper sequence for uploading the lxml egg?
download the tgz from codespeak.net. This contains the .c file that has been created by our special version of Pyrex.
Then unpack it, and:
$ python2.4 setup.py build [go to lib dir, strip the .so files] $ python2.4 setup bdist_egg $ python2.4 setup upload
You have to run "bdist_egg upload" on one command line as the upload takes the files that were created in the same run. I'm planning to release a 1.1.1 pretty soon, BTW, as there were a couple of bugs in lxml.objectify (and there are a few nice new features on the trunk, too). So, no hurry with eggs for 1.1. Stefan
![](https://secure.gravatar.com/avatar/947c14f160f3305b9e7f54c0cc9708a1.jpg?s=120&d=mm&r=g)
Stefan Behnel wrote:
Martijn Faassen wrote:
I wonder whether I'm doing something wrong, as previously this worked. To verify I'm not doing something stupid, could someone please say this is the proper sequence for uploading the lxml egg?
download the tgz from codespeak.net. This contains the .c file that has been created by our special version of Pyrex.
Then unpack it, and:
$ python2.4 setup.py build [go to lib dir, strip the .so files] $ python2.4 setup bdist_egg $ python2.4 setup upload
You have to run "bdist_egg upload" on one command line as the upload takes the files that were created in the same run.
Argh, this slipped my mind. Okay, that explains it, thanks! We should write this in some file somewhere...
I'm planning to release a 1.1.1 pretty soon, BTW, as there were a couple of bugs in lxml.objectify (and there are a few nice new features on the trunk, too). So, no hurry with eggs for 1.1.
Okay. Regards, Martijn
participants (2)
-
Martijn Faassen
-
Stefan Behnel