Message from discussion
cython extension thinks it's up to date
Received: by 10.50.41.132 with SMTP id f4mr3140342igl.1.1352125123662;
Mon, 05 Nov 2012 06:18:43 -0800 (PST)
X-BeenThere: cython-users@googlegroups.com
Received: by 10.50.183.129 with SMTP id em1ls8691607igc.0.gmail; Mon, 05 Nov
2012 06:18:42 -0800 (PST)
Received: by 10.42.132.5 with SMTP id b5mr5443143ict.7.1352125122403;
Mon, 05 Nov 2012 06:18:42 -0800 (PST)
Received: by 10.50.57.13 with SMTP id e13msigq;
Mon, 5 Nov 2012 06:14:46 -0800 (PST)
Received: by 10.50.236.105 with SMTP id ut9mr6333595igc.3.1352124886661;
Mon, 05 Nov 2012 06:14:46 -0800 (PST)
Received: by 10.50.236.105 with SMTP id ut9mr6333594igc.3.1352124886651;
Mon, 05 Nov 2012 06:14:46 -0800 (PST)
Return-Path: <joe.jorda...@gmail.com>
Received: from mail-oa0-f47.google.com (mail-oa0-f47.google.com [209.85.219.47])
by gmr-mx.google.com with ESMTPS id d5si1060901iga.1.2012.11.05.06.14.46
(version=TLSv1/SSLv3 cipher=OTHER);
Mon, 05 Nov 2012 06:14:46 -0800 (PST)
Received-SPF: pass (google.com: domain of joe.jorda...@gmail.com designates 209.85.219.47 as permitted sender) client-ip=209.85.219.47;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of joe.jorda...@gmail.com designates 209.85.219.47 as permitted sender) smtp.mail=joe.jorda...@gmail.com; dkim=pass header...@gmail.com
Received: by mail-oa0-f47.google.com with SMTP id h1so5591314oag.6
for <cython-users@googlegroups.com>; Mon, 05 Nov 2012 06:14:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:date:message-id:subject:from:to:content-type;
bh=XYQFkNtQbIJ6odJAwYUTyUCsgNy2xLTJETi60hoiEsU=;
b=BlYcEX9E5+Pf3YbxLG3MNK9YWZ9GtKVZbYiY77r3hcWzCfdR9Vgvg3/O82FYpKwRHX
xK6apmmWRy1WrHRCp+k8ac9Bzp2ivjiCbc/heeAsOtlNkZ1nXCas3wfPURQhS6YgKROs
nK8CPU/f0bhiAC4lFvwrAOTfkhhwgBwRH3Xy4YgBgQWFlimm9X1G2PmOqMdbVRJNq78B
MBR0IYhC/Vnm10zSzg+PWekKLnd/UrLadS0KH8BZIqQObjaaB746IbmSaRYfuJPdilyu
OCWas8h71tkA+Yt6Rq75BrxEPPpycIQHboblAE+i8DMqzYpHWMzzFgo6iew0PIgxVx4C
IB0A==
MIME-Version: 1.0
Received: by 10.182.95.205 with SMTP id dm13mr8069588obb.9.1352124886465; Mon,
05 Nov 2012 06:14:46 -0800 (PST)
Received: by 10.76.114.200 with HTTP; Mon, 5 Nov 2012 06:14:46 -0800 (PST)
Date: Mon, 5 Nov 2012 14:14:46 +0000
Message-ID: <CAHUq47pLLQLx482O7RctDECKRExv8VDMvtcRQb3MY3PPWZ6...@mail.gmail.com>
Subject: cython extension thinks it's up to date
From: Joe Jordan <joe.jorda...@gmail.com>
To: cython-users@googlegroups.com
Content-Type: text/plain; charset=ISO-8859-1
Hiya,
I have a project which is set up with one or two cython files and then
a whole set of C and C++ files. When I try to rebuild after changing
the cython, everything goes as expected. But when I change the C or
C++ only, cython decides that everything is already up to date.
In setup.py I pass in all the relevant source file names in the
Extension's sources list, so why doesn't the cython compiler detect
that the files have changed and rebuild? One solution is to delete the
build folder and try again, but this rebuilds all modules rather than
just the one I've changed, which is much slower.
Is this a bug in cython, or am I doing something wrong?
Joe