scipy / SciPyCentral

SciPy Central
http://scipy-central.org
BSD 3-Clause "New" or "Revised" License
16 stars 12 forks source link

Add an easy way to quickstart the development environment #119

Closed pv closed 11 years ago

pv commented 11 years ago

Add setup.py + tox + a quickstart script.

The quickstart script creates a virtualenv and downloads the packages listed in setup.py. Tox seems to require that a setup.py is present. This should reduce the hassle in finding the correct versions of the different packages etc. and installing them.

Also use the pure-Python Whoosh search engine if xapian is missing (The Xapian+Haystack combination is somewhat painful to install).

ksurya commented 11 years ago

This so far looks clean. However, Xapian being written in native code gives us better performance over Whoosh.

ksurya commented 11 years ago

This so far looks clean. However, Xapian being written in native code gives us better performance over Whoosh. I agree, setting up xapian is a bit not so easy task sometimes.

(Note: Closed PR purely by mistake. Sorry)

pv commented 11 years ago

Ok, now with simpler xapian-haystack install instructions. Xapian is probably faster, but allowing Whoosh as a fall-back makes the automatic setup of the dev environment possible.

Btw, you should now be in the SciPyCentral admin group, so you're able to merge pull requests, too. I think we want to here follow similar system as in Scipy development: (i) all changes via pull requests (except trivial changes), (ii) if no comments, poke people, and if still no comments, assume OK to merge, (iii) never push -f to the main repository, (iv) the green merge button on pull requests is OK to use.

ksurya commented 11 years ago

Okay. I will keep those rules in mind.

And, since you just started cleaning up some older code, I guess we can upgrade to django-1.4 too. This project absolutely working on 1.4 but some features may be deprecated. For example manage.py certainly is.. what do you say?

We need to change manage.py directory, edit it as per the 1.4 version add wsgi.py file to deploy directory update settings.LOGGING config (little more things)

I think we can merge this PR.. shall I

pv commented 11 years ago

I think we should upgrade to Django 1.4.x. Unfortunately, django-registration doesn't work yet on Django 1.5, so we can't go to Django 1.5.

Merged this PR.