Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
cython extension thinks it's up to date
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Joe Jordan  
View profile  
 More options Nov 5 2012, 9:18 am
From: Joe Jordan <joe.jorda...@gmail.com>
Date: Mon, 5 Nov 2012 14:14:46 +0000
Local: Mon, Nov 5 2012 9:14 am
Subject: cython extension thinks it's up to date
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mark florisson  
View profile  
 More options Nov 5 2012, 9:28 am
From: mark florisson <markflorisso...@gmail.com>
Date: Mon, 5 Nov 2012 14:28:34 +0000
Local: Mon, Nov 5 2012 9:28 am
Subject: Re: [cython-users] cython extension thinks it's up to date
On 5 November 2012 14:14, Joe Jordan <joe.jorda...@gmail.com> wrote:

It works here if I list my C files under 'sources', maybe something is
amiss. Could you paste your script? If some parts of the project, such
as header files, are not part of the source, you can also list them
under 'depends'.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tehwalrus  
View profile  
 More options Nov 5 2012, 10:31 am
From: tehwalrus <joe.jorda...@gmail.com>
Date: Mon, 5 Nov 2012 07:31:28 -0800 (PST)
Local: Mon, Nov 5 2012 10:31 am
Subject: Re: [cython-users] cython extension thinks it's up to date

attached is a (redacted) setup file. it also contains some fortran hacking
(http://stackoverflow.com/a/12706377/393816), but that shouldn't be
relevant to the setup() calls.

(I tried to add the code inline, but the google groups editor messes up the
formatting something awful.)

Joe

  setup.py
3K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Barker  
View profile  
 More options Nov 5 2012, 1:12 pm
From: Chris Barker <chris.bar...@noaa.gov>
Date: Mon, 5 Nov 2012 10:11:24 -0800
Local: Mon, Nov 5 2012 1:11 pm
Subject: Re: [cython-users] cython extension thinks it's up to date
I"m pretty sure I've had the same issues with distutils not pickjing
up changes to the C sources I added to the sources list.

IIUC, to get distutils do this sort of thing right, you need to use
"cythonize". Not as well documented as I'd like, but it does help it
all work better.

A nice complex example with cythonize would be a nice thing to have in
the Wiki...

-Chris

--

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Bar...@noaa.gov


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »