Я программирую расширение С++ для Python, и я использую distutils для компиляции проекта. По мере роста проекта восстановление его занимает больше времени и дольше. Есть ли способ ускорить процесс сборки?
Я читал, что параллельные сборки (как с make -j
) невозможны с distutils. Есть ли хорошие альтернативы distutils, которые могут быть быстрее?
Я также заметил, что он перекомпилирует все объектные файлы каждый раз, когда я вызываю python setup.py build
, даже когда я только изменил один исходный файл. Если это так, или я могу делать что-то неправильно здесь?
В случае, если это помогает, вот некоторые из файлов, которые я пытаюсь скомпилировать: https://gist.github.com/2923577
Спасибо!