evaleev / libint

Libint: high-performance library for computing Gaussian integrals in quantum mechanics
Other
218 stars 96 forks source link

fix CI for setuptools=69 #319

Closed loriab closed 5 months ago

loriab commented 5 months ago

As diagnosed in https://github.com/evaleev/libint/pull/318#issuecomment-1889626192, the latest setuptools doesn't like the empty version present in an independent cmake run of the python project. This mends it, albeit with another hand-sync. pulling out version to an external file would be better, but libtool+cmake already has 2 places to edit version, so I kept the file structure simple and make it 3 places to edit. cmake+cmake is cleaner.