-
Notifications
You must be signed in to change notification settings - Fork 54
MRG: Small changes and move C++/Cython source to root_numpy/src directory #9
Conversation
Does it break setup.py build_ext --inplace? |
you will need to edit genc file too |
inplace still works. I updated the setup. Will fix genc. Maybe this genc command to rerun cython can go in the Makefile? |
That'd be good. Does inplace put the _libroot_numpy.so in root_numpy or src? On Nov 16, 2012, at 10:33 AM, Noel Dawe wrote:
|
root_numpy. All tests pass. I run "make" before committing which runs all the nosetests. |
Hi Piti, do you think this PR is ok to merge in? |
nm, I need to rebase on master, will do now. |
Hmm... I'm not really sure if I like moving the pyx and all C/C++ files to src though. If it's what most people do, then I'm fine with it. I mean this is a small enough module it has like 8 files or something. Having all relevant source in one directory makes it easy to find what happen when things break. But, again, I'm fine either way. |
Yeah, it's not totally necessary. I've just contributed to other projects where the files used to compile extension modules were separated out into src directories, just to avoid clutter. |
@ndawe Can you trigger a travis build? I think you need to rebase on master anyways? |
rebased |
Hold off on merging this for now. I need to fix some merging mistakes in my rebase. |
This is ready to be merged in. |
MRG: Small changes and move C++/Cython source to root_numpy/src directory
I have a few other things I would like to port from rootpy.root2array to root_numpy. Then we can remove the duplication of root_numpy inside rootpy. I'll send a separate PR soon.