aiidateam / aiida-testing

A pytest plugin to simplify testing of AiiDA plugins.
MIT License
5 stars 6 forks source link

faster entry point loading for console script #34

Closed ltalirz closed 4 years ago

ltalirz commented 4 years ago

use fastentrypoints module [1] to load console scripts. not only is it faster, the alternative route via pkg_resources also throws exceptions whenever it detects dependency clashes in the python environment, causing aiida-mock-code to fail.

greschd commented 4 years ago

Thanks! I think it needs to be added to the MANIFEST.in file as well, so that it gets included when building the package.

ltalirz commented 4 years ago

right, done!

greschd commented 4 years ago

Fantastic, thanks!