1. illume
  2. pywebsite

Commits

illume  committed 5a4c102

Added some more install things and a basic example for sqlitepickle.

  • Participants
  • Parent commits f497fc1
  • Branches default

Comments (0)

Files changed (5)

File trunk/Makefile

View file
+#fake Makefile for pywebsite, to support the common
+# ./configure;make;make install
+
+PYTHON = python
+
+#build: Setup setup.py
+build: setup.py
+	$(PYTHON) setup.py build
+
+#install: Setup setup.py
+install: setup.py
+	$(PYTHON) setup.py install
+
+#Setup:
+#	$(PYTHON) configure.py
+
+check tests:
+	$(PYTHON) run_tests.py
+
+#docs:	install
+#	cd docs/utils
+#	$(PYTHON) makedocs.py
+
+clean:
+	rm -rf build dist
+	rm -f lib/*~ src/*~ test/*~
+

File trunk/buildout.cfg

View file
 [buildout]
-parts = py
+parts = python
 #parts = py test
 develop =
     .
 #recipe = zc.recipe.testrunner
 #eggs = pywebsite
 
-#[py]
-#recipe = zc.recipe.egg:script
-#interpreter = py
-#eggs = pywebsite
+[python]
+recipe = zc.recipe.egg:script
+interpreter = python
+eggs = pywebsite

File trunk/configure

View file
+#fake configure for pywebsite, to support the common
+# ./configure;make;make install
+
+#python config.py -auto

File trunk/examples/sqlitepickle.py

View file
+from pywebsite import sqlitepickle
+
+db = sqlitepickle.SQLPickle()
+
+db.save('some key', dict(a=2))
+print db.get('some key')
+
+
+
+
+
+

File trunk/install.txt

View file
+
+
+python setup.py install
+
+buildout support is not currently working for some reason
+