[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r769 - Extractor/src/main
From: |
grothoff |
Subject: |
[GNUnet-SVN] r769 - Extractor/src/main |
Date: |
Sun, 8 May 2005 01:36:44 -0700 (PDT) |
Author: grothoff
Date: 2005-05-08 01:36:39 -0700 (Sun, 08 May 2005)
New Revision: 769
Modified:
Extractor/src/main/Makefile.am
Extractor/src/main/libextractor_python3.c
Extractor/src/main/libextractor_python_setup.py
Log:
update
Modified: Extractor/src/main/Makefile.am
===================================================================
--- Extractor/src/main/Makefile.am 2005-05-08 08:11:53 UTC (rev 768)
+++ Extractor/src/main/Makefile.am 2005-05-08 08:36:39 UTC (rev 769)
@@ -55,5 +55,5 @@
getopt1.c
install-exec-local:
- python libextractor_python_setup.py build
- python libextractor_python_setup.py install --prefix=$(PYTHON_PREFIX)
+ python libextractor_python_setup.py $(libdir) build
+ python libextractor_python_setup.py $(libdir) install
--prefix=$(PYTHON_PREFIX)
Modified: Extractor/src/main/libextractor_python3.c
===================================================================
--- Extractor/src/main/libextractor_python3.c 2005-05-08 08:11:53 UTC (rev
768)
+++ Extractor/src/main/libextractor_python3.c 2005-05-08 08:36:39 UTC (rev
769)
@@ -1,3 +1,24 @@
+/*
+ This file is part of libextractor.
+ (C) 2004, 2005 Vidyut Samanta and Christian Grothoff
+
+ libextractor is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published
+ by the Free Software Foundation; either version 2, or (at your
+ option) any later version.
+
+ libextractor is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with libextractor; see the file COPYING. If not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+ */
+
+
/* libextractor_python.c
---------------------
Modified: Extractor/src/main/libextractor_python_setup.py
===================================================================
--- Extractor/src/main/libextractor_python_setup.py 2005-05-08 08:11:53 UTC
(rev 768)
+++ Extractor/src/main/libextractor_python_setup.py 2005-05-08 08:36:39 UTC
(rev 769)
@@ -1,9 +1,13 @@
from distutils.core import Extension, setup
+import sys
+path=sys.argv[0]
+sys.argv = sys.argv[1:]
+
cmod = Extension("extractor",["libextractor_python3.c"],
libraries=["extractor"],
include_dirs=["../include"],
- library_dirs=["/home/heiko/usr/lib"])
+ library_dirs=[path])
setup(name="Extractor",
version="0.5.0",
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r769 - Extractor/src/main,
grothoff <=