First of all, I'd like to explain why exactly I have done this. I was
trying to use distutils to create a setup script for pypentago, which
pretty much failed because it was complicated to access the pypentago
functions from outside the package, meaning that the main file has to be
with the other files, which is not good, as the main file should be put
into /usr/bin or /usr/local/bin so that Linux/*BSD users may use it
correctly. That is why I created a master directory called src, so that
nothing can possible disturb the imports. This directory is added to the
PYTHONPATH by any files that are executable(see main.py files) and so it
is easy to import pypentago.client and pypentago.server modules. I put
easy_twisted into a separate directory because I think it belongs to
pypentago, but may be used otherwise too, and this way I ensure that I
can make a separate setup script for only easy_twisted. I tried it out,
put pypentago and easy_twisted into site-packages and the client.main to
/usr/bin/pypentago and the server.main to /usr/bin/pypentagod and it
seemed to work pretty well. I think these changes were necessary to
ensure that we can properly distribute the project and am sorry for an
inconvenience that may have occurred because of the dislocation of the code.
So what should you do? Just commit any changes that you make until
Thursday the 26th afternoon(GMT) normally as if this change did not
occur, by then I will have come back from my 5 days unavailability due
to a short "holiday" with school. I will merge these changes into the
src directory and eventually delete the old directories so that there is
no confusion which is the "real" code that you should work on.
I really hope that this transition goes seamlessly and that we do not
need to do such things again. I once again apologize for changing the
location of the code, but as said I think it was necessary.
Best regards,
Florian Mayer
|