fergalwalsh / pico

Pico is a very small web application framework for Python.
http://pico.readthedocs.io/
186 stars 41 forks source link

setup.py added for install via pip install -e #1

Closed arctan1701 closed 12 years ago

arctan1701 commented 13 years ago

I set the version number to the commit id since there are no release numbers in the current project. Being able to install via

pip install -e git+https://github.com/fergalwalsh/pico.git#egg=pico

would help myself and others use your code with our deploy scripts.

fergalwalsh commented 13 years ago

Thank you for the addition. Two questions before I merge. Is the init.py necessary for pip? Currently I have no init.py because I have only a single file in the module so I just put pico.py in my path. If I add the init.py then i will have to import pico.pico which isn't so nice.

Do we need a version number in setup.py? Currently the project is in a state of rapid development so I don't like the idea of having to increment a version number and change setup.py each time. Although I understand it would make it easier to know what version you are using and which the docs refer to.

Fergal