Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.008 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'scipy': 0.05; 'installed.': 0.07; 'problem:': 0.07; 'problem?': 0.07; 'subject:application': 0.07; 'rewrite': 0.09; 'cc:addr:python- list': 0.11; 'rewriting': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'cc:addr:python.org': 0.22; 'install': 0.23; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'message-id:@mail.gmail.com': 0.30; 'probably': 0.32; 'received:google.com': 0.35; 'there': 0.35; 'functions.': 0.36; 'application': 0.37; "you're": 0.61; 'to:addr:gmail.com': 0.65; 'oscar': 0.84; 'subject:Using': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=Ua5oxiJFAVO/dnHy+vfltypJ7QkYyhWm0SlZfNKWqh8=; b=Kzinn1+z+TF6tTmN2cdwDvdhwSkKKrnBFTsU1vzsprFg0YG6JjCMrN3GjyuFQX1tPV ppANsCi6Qttwot/1ex7NYuy5aZB9CG/cINFEvXwnE4NFfYM3DmhEcftkT8BvqTwqKqgq zb7FDcYoUTvD3zI9gzC5vSsHbD67BlGNh9ZGNyhojD0AlP0VvOqscaY6hlZKB2UBF17o VRPcDOntrPDQb2DddPlnd/FIO934E/ikQCnxCDD9BZMzaEoAEsumTK/2x6bpQV2X/47s 2G6FLhwiZdglFldLKgS2QKGW5XZQePKK5JZrwAFjhNqGP1nnPlFv/U4UAvIG+p4KacGJ AeHA== X-Received: by 10.52.93.78 with SMTP id cs14mr21709052vdb.17.1366801488162; Wed, 24 Apr 2013 04:04:48 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <437ea69e-fa1b-42e9-a09a-23b6f94182f2@googlegroups.com> References: <437ea69e-fa1b-42e9-a09a-23b6f94182f2@googlegroups.com> From: Oscar Benjamin Date: Wed, 24 Apr 2013 12:04:27 +0100 Subject: Re: Using SciPy in application To: Roozbeh Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1366801497 news.xs4all.nl 15941 [2001:888:2000:d::a6]:56327 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:44255 On 24 April 2013 10:13, Roozbeh wrote: > > I want to use spline interpolation function from SciPy in an application and at the same time, I don't want the end user to have to install SciPy separately. Is there a way around this problem? They cannot use the function from scipy if scipy is not installed. There are three ways round this problem: 1) Rewrite the interpolation function you need in your own code. 2) Require the user to install scipy. 3) Require the user to install some other package that has interpolation functions. Rewriting the interpolation function is probably not that difficult depending on the type of interpolation you're using. Oscar