[Opensrf-commits] r1477 - in trunk: . bin src/python
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Oct 25 13:25:54 EDT 2008
Author: dbs
Date: 2008-10-25 13:25:47 -0400 (Sat, 25 Oct 2008)
New Revision: 1477
Added:
trunk/src/python/setup.py
Modified:
trunk/bin/osrf_config.in
trunk/configure.ac
Log:
Fix build of OpenSRF Python support:
we cannot use a fully-qualified pathname for packages and scripts vars
Modified: trunk/bin/osrf_config.in
===================================================================
--- trunk/bin/osrf_config.in 2008-10-24 17:07:40 UTC (rev 1476)
+++ trunk/bin/osrf_config.in 2008-10-25 17:25:47 UTC (rev 1477)
@@ -46,12 +46,6 @@
showInstalled;
}
-function cconfig {
-
-sed -e 's|osrf|@abs_top_srcdir@/src/python/osrf|g' \
- -e 's|srfsh\.py|@abs_top_srcdir@/src/python/srfsh.py|g' @srcdir@/src/python/setup.py.in > @srcdir@/src/python/setup.py
-}
-
function showHelp {
echo
echo "------------------------------------------------------------"
Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac 2008-10-24 17:07:40 UTC (rev 1476)
+++ trunk/configure.ac 2008-10-25 17:25:47 UTC (rev 1477)
@@ -262,8 +262,6 @@
AC_OUTPUT
-bin/osrf_config --cconfig
-
AC_MSG_RESULT([])
AC_MSG_RESULT([--------------------- Configuration options: -----------------------])
Copied: trunk/src/python/setup.py (from rev 1467, trunk/src/python/setup.py.in)
===================================================================
--- trunk/src/python/setup.py (rev 0)
+++ trunk/src/python/setup.py 2008-10-25 17:25:47 UTC (rev 1477)
@@ -0,0 +1,24 @@
+#!/usr/bin/env python
+
+from setuptools import setup
+
+setup(name='OpenSRF',
+ version='1.0.0',
+ install_requires=[
+ 'dnspython', # required by pyxmpp
+ 'python-memcached',
+ 'pyxmpp>=1.0.0',
+ 'simplejson>=1.7.1'
+ ],
+ dependency_links = [
+ "http://pyxmpp.jajcus.net/downloads/",
+ "ftp://ftp.tummy.com/pub/python-memcached/python-memcached-latest.tar.gz"
+ ],
+ description='OpenSRF Python Modules',
+ author='Bill Erickson',
+ author_email='erickson at esilibrary.com',
+ license="GPL",
+ url='http://www.open-ils.org/',
+ packages=['osrf'],
+ scripts=['srfsh.py']
+)
More information about the opensrf-commits
mailing list