Changes between Version 1 and Version 2 of PyMill
- Timestamp:
- 04/03/08 15:35:53 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PyMill
v1 v2 16 16 Extension( 17 17 name = 'bodies', 18 mill_sources = (18 sources = ( 19 19 'src/bodies/Body.pxi', 20 20 'src/bodies/Camera.pxi', … … 31 31 }}} 32 32 33 In the above, the mill_sources dictates which files will be compiled, whichare appended to the Extension's sources= regardless of whether they're regenerated. Since .c generation is internal we can continue having one .c per extension right now and migrate to one .c per source file later (this will make debugging easier).33 In the above, the sources dictates which files will be compiled, which the processed .c's are appended to the Extension's sources= regardless of whether they're regenerated. Since .c generation is internal we can continue having one .c per extension right now and migrate to one .c per source file later (this will make debugging easier). 34 34 35 35 Note that this data obsoletes about 100 lines of setup.py which checks file last modified dates; a more robust checking (only regenerating what's needed when something changes) could even be implemented internally to PyMill. … … 39 39 40 40 Source would continue to be laid out just as it is now, or really in any fashion a project using PyMill prefers, but without the need for all the .pyx files which do nothing but include .pxi files, and eventually without the need for .pxd files either. 41 42 We'll migrate .pxi files (which Pyrex doesn't care about the extension of) to '''.pym''' (PyMill) during this process.
