From: Max B. <max...@gm...> - 2005-06-05 01:53:42
|
Heyo, So the current CVS now uses the python distutils. To create a source distribution, go to the module top level directory and run "python setup.py sdist --formats=3Dgztar,bztar" -- this will package up tar.gz and tar.bz2 files in dist/. When the user downloads and extracts one of these distributions, he just needs to run "python setup.py install --prefix=3D/wherever" to install lemfs. There are now two main scripts for running lemfs: lemfs_node, which starts a datanode, and lemfs_httpd, which starts the http client.=20 These get installed by the above command to PREFIX/bin. I'm still not sure about where to put the html template files used by the http client... maybe PREFIX/share/lemfs/httpd or something like that. Oh, and the current release version is now "0.1.0a1", in better compliance with python convention. From now on, if you add new files to lemfs, or move them around, be sure you've read how the distutils work: http://docs.python.org/dist/dist.html BTW yitz, i made some changes to HTTPClient.py for the lemfs_httpd script, and did my best to clean up the resulting revision conflict. It doesn't seem like I broke anything, but you might want to take a look to be sure :) - Max |