algorithm-archivists / algorithm-archive

A collaborative book on algorithms
https://www.algorithm-archive.org
MIT License
2.38k stars 356 forks source link

Fixed Coconut compilation problem #971

Closed Amaras closed 2 years ago

Amaras commented 2 years ago

The issue this PR fixes is the following:

When building for the first time, the Coconut compiler considers the build target a directory. However, when running a second time, SCons is confused because it expected a file.

This can be fixed by adding the .py suffix to the build target (see the Coconut SConscript).