* Delete setup.py.in (as we're not modifying it)
* Make math_client.py be modified with SYSCONFDIR location per other scripts
(although slightly longer term we'll need to stop modifying all of these
in place, because that doesn't work after the first ./configure run)
* Add a few files to automake's tracking so that make dist is a little happier
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1484
9efc2488-bf62-4759-914b-
345cdb29e865
@srcdir@/doc/dokuwiki-doc-stubber.pl \
@srcdir@/doc/OpenSRF-Messaging-Protocol.html \
@srcdir@/doc/Persist-API.html \
- @srcdir@/doc/Roadmap.txt
+ @srcdir@/doc/Roadmap.txt \
+ @srcdir@/AUTHORS \
+ @srcdir@/ChangeLog \
+ @srcdir@/INSTALL \
+ @srcdir@/README
EXAMPLES_FILES = @srcdir@/examples/fieldmapper2cdbi.xsl \
@srcdir@/examples/fieldmapper2javascript.xsl \
@srcdir@/examples/fieldmapper2perl.xsl \
@srcdir@/examples/gen-fieldmapper.xml \
@srcdir@/examples/math_bench.pl \
+ @srcdir@/examples/math_client.py \
@srcdir@/examples/multisession-test.pl \
@srcdir@/examples/register.pl \
@srcdir@/examples/srfsh_config.xsd \
@srcdir@/src/libopensrf/osrfConfig.c
-EXTRA_DIST = $(DOC_FILES) $(EXAMPLES_FILES) $(libosrf_FILES) $(strn_compat_FILES) $(python_FILES) $(java_FILES) @srcdir@/autogen.sh @srcdir@/src/extras @srcdir@/DCO-1.1.txt @srcdir@/LICENSE.txt @srcdir@/src/perl @srcdir@/src/javascript
+EXTRA_DIST = $(DOC_FILES) $(EXAMPLES_FILES) $(libosrf_FILES) $(strn_compat_FILES) $(python_FILES) $(java_FILES) @srcdir@/autogen.sh @srcdir@/src/extras @srcdir@/COPYING @srcdir@/DCO-1.1.txt @srcdir@/LICENSE.txt @srcdir@/src/perl @srcdir@/src/javascript
opensrfincludedir = @includedir@/opensrf
import osrf.ses
# XXX: Replace with command line arguments
-file = '/opensrf/conf/opensrf_core.xml'
+file = '/openils/conf/opensrf_core.xml'
operator = 'add'
operand1 = 5
operand2 = 7
sed -i 's|LOCALSTATEDIR|$(VAR)|g' '$(DESTDIR)@sysconfdir@/srfsh.xml.example'
sed -i 's|SYSCONFDIR|$(ETCDIR)|g' '$(DESTDIR)@sysconfdir@/srfsh.xml.example'
sed -i 's|SYSCONFDIR|$(ETCDIR)|g' '@abs_top_srcdir@/examples/math_bench.pl'
+ sed -i 's|SYSCONFDIR|$(ETCDIR)|g' '@abs_top_srcdir@/examples/math_client.py'
sed -i 's|LIBDIR|$(LIBDIR)|g' '@abs_top_srcdir@/examples/multisession-test.pl'
sed -i 's|SYSCONFDIR|$(ETCDIR)|g' '@abs_top_srcdir@/doc/dokuwiki-doc-stubber.pl'
cp -r @srcdir@/javascript/* $(jsdir)/
+++ /dev/null
-#!/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@esilibrary.com',
- license="GPL",
- url='http://www.open-ils.org/',
- packages=['osrf'],
- scripts=['srfsh.py']
-)