[open-ils-commits] r8275 - in trunk/Open-ILS/src: . python
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Dec 22 22:03:44 EST 2007
Author: dbs
Date: 2007-12-22 21:41:38 -0500 (Sat, 22 Dec 2007)
New Revision: 8275
Added:
trunk/Open-ILS/src/python/Makefile
trunk/Open-ILS/src/python/setup.py
Modified:
trunk/Open-ILS/src/Makefile
Log:
Install Evergreen Python modules via distutils
Modified: trunk/Open-ILS/src/Makefile
===================================================================
--- trunk/Open-ILS/src/Makefile 2007-12-21 22:43:58 UTC (rev 8274)
+++ trunk/Open-ILS/src/Makefile 2007-12-23 02:41:38 UTC (rev 8275)
@@ -10,7 +10,7 @@
all: c_apps client-xul mod_xmlent
-install: perl-install web-install server-xul string-templates-install xsl-install c_apps-install circ_rules-install offline-install storage-bootstrap cgi-bootstrap
+install: perl-install python-install web-install server-xul string-templates-install xsl-install c_apps-install circ_rules-install offline-install storage-bootstrap cgi-bootstrap
web-install: webcore-install autojs-install mod_xmlent-install offline-install reporter-install
@@ -140,6 +140,12 @@
# -----------------------------------------------------------------------------------
+python-install:
+ @echo $@
+ make -C python install
+
+# -----------------------------------------------------------------------------------
+
reporter-install:
@echo $@
@echo "Installing Reporter email templates to $(REPORTERDIR) and example configs to $(ETCDIR)"
@@ -204,4 +210,5 @@
make -C extras clean
make -C apachemods clean
make -C c-apps clean
+ make -C python clean
Added: trunk/Open-ILS/src/python/Makefile
===================================================================
--- trunk/Open-ILS/src/python/Makefile (rev 0)
+++ trunk/Open-ILS/src/python/Makefile 2007-12-23 02:41:38 UTC (rev 8275)
@@ -0,0 +1,16 @@
+# vim:noet:ts=4
+
+install: python-install
+
+python-build:
+ @echo $@
+ python setup.py build
+
+python-install:
+ @echo $@
+ python setup.py install
+
+clean:
+ @echo $@
+ rm -fr build
+ find . -name "*.pyc" -exec rm -f {} \;
Added: trunk/Open-ILS/src/python/setup.py
===================================================================
--- trunk/Open-ILS/src/python/setup.py (rev 0)
+++ trunk/Open-ILS/src/python/setup.py 2007-12-23 02:41:38 UTC (rev 8275)
@@ -0,0 +1,16 @@
+#!/usr/bin/env python
+from distutils.core import setup
+import os, os.path
+
+dir = os.path.dirname(__file__)
+
+setup(name='Evergreen',
+ version='1.2',
+ requires='OpenSRF',
+ description='Evergreen Python Modules',
+ author='Bill Erickson',
+ author_email='open-ils-dev at list.georgialibraries.org',
+ url='http://www.open-ils.org/',
+ packages=['oils', 'oils.utils'],
+ package_dir={'': dir}
+)
More information about the open-ils-commits
mailing list