Dag Sverre Seljebotn, 27.08.2012 14:47: > On 08/27/2012 02:45 PM, Dag Sverre Seljebotn wrote: >> On 08/27/2012 02:05 PM, Stefan Behnel wrote: >>> mark florisson, 27.08.2012 13:52: >>>> On 27 August 2012 12:40, Stefan Behnel wrote: >>>>> The code tree looks a bit disorganised currently, with a lot of >>>>> modules at >>>>> the top level. I guess that's what you meant when you said "make it >>>>> distributable". >>>> >>>> Indeed, the idea was that it would be included verbatim in >>>> projects/used as a submodule, since it'd be small enough to include >>>> and would always be stable and integrated into the main project. That >>>> basically means the entire thing would be the package. It'd be kind of >>>> nice to allow it both ways, i.e. install as a package, and make it >>>> convenient as a submodule. I think that can be managed. >>> >>> I'd just move it into a package anyway and let projects that want to >>> use it >>> as a git submodule move it to an appropriate place during installation by >>> appropriately configuring their project specific distutils setup. >>> >>>> E.g. I can see situations where you need to fix a little bug, or make >>>> a small change where you don't really want (to wait for) a new release >>>> of minivect, but you do want that exact commit for the release of the >>>> main project. >>> >>> Doesn't that apply to more or less all code out there? >> >> Most package dependencies are *a lot* more loosely coupled that Cython >> (w/some features)<->minivect. Since minivect works with an AST and all. > > I think there's a case for having minivect as a git submodule for > convenient development purposes (so that you can easily sort of refactor > Cython and minivect together), but that's only a development mechanism. > > I.e., Cython first tries to import 'Cython.minivect' (which could be a > symlink into a git submodule) and if that fails 'minivect', the latter > would be the normal end-user mode because Cython doesn't bundle minivect.
python setup.py develop (or the equivalent options for pip and easy_install) Stefan _______________________________________________ cython-devel mailing list cython-devel@python.org http://mail.python.org/mailman/listinfo/cython-devel