Convert ChemDB from web.py to CherryPy. 0.4
authorW. Trevor King <wking@drexel.edu>
Tue, 24 Aug 2010 16:54:53 +0000 (12:54 -0400)
committerW. Trevor King <wking@drexel.edu>
Tue, 24 Aug 2010 16:54:53 +0000 (12:54 -0400)
commit48b5e758b9f66fe0e36a6c28189adaf3ec517fd3
treeed695d4d474532796ef6bee1a941de92939afa9d
parentcd4b2afb1ef26565a691707da229d310ff13d36a
Convert ChemDB from web.py to CherryPy.

I like CherryPy's interface better, and web.py depends on CherryPy
anyway.  Time to cut out the middleman.

Also moved to a non-flat directory structure.

This was a major reorganization, so it may have introduced a few bugs.
I'll probably turn up anything major in the next day or two.

I've learned a lot about Python since I wrote the earlier versions of
ChemDB.  The portions that I've rewritten reflect those changes, but a
good of the unchanged code is still a bit awkward.

Still to come:
* Remove metapost dependency by using PGF/TikZ to generate the NFPA
  diamond.
34 files changed:
.gitignore
COPYING [new file with mode: 0644]
DEPENDENCIES
README
bin/chem_db.py [new file with mode: 0755]
bin/chem_web.py [new file with mode: 0755]
chem_db.py [deleted file]
chem_web.py [deleted file]
chemdb/__init__.py [new file with mode: 0644]
chemdb/chemdb.py [new file with mode: 0644]
chemdb/daemon.py [moved from daemon.py with 100% similarity]
chemdb/db/__init__.py [new file with mode: 0644]
chemdb/db/text.py [moved from text_db.py with 58% similarity]
chemdb/server.py [new file with mode: 0644]
contrib/ssl/certgen.py [moved from certgen.py with 100% similarity]
contrib/ssl/mk_simple_certs.py [moved from mk_simple_certs.py with 77% similarity, mode: 0755]
example/inventory.db [moved from examples/inventory.db with 100% similarity]
example/static/MSDS/0.html [new file with mode: 0644]
template/doc/Makefile [moved from docs/Makefile with 100% similarity]
template/doc/README [moved from docs/README with 100% similarity]
template/doc/contact.tex [moved from docs/contact.tex with 100% similarity]
template/doc/door_template.tex [moved from docs/door_template.tex with 100% similarity]
template/doc/inventory_template.tex [moved from docs/inventory_template.tex with 100% similarity]
template/doc/mp/Makefile [moved from docs/mp/Makefile with 100% similarity]
template/doc/mp/NFPA_c.mp [moved from docs/mp/NFPA_c.mp with 100% similarity]
template/doc/mp/README [moved from docs/mp/README with 100% similarity]
template/doc/mp/gen_NFPA.sh [moved from docs/mp/gen_NFPA.sh with 100% similarity]
template/doc/mp/sample.tex [moved from docs/mp/sample.tex with 100% similarity]
template/web/base.html [new file with mode: 0644]
template/web/docs.html [new file with mode: 0644]
template/web/edit-record.html [new file with mode: 0644]
template/web/index.html [new file with mode: 0644]
template/web/record.html [new file with mode: 0644]
update_copyright.py [new file with mode: 0755]