Setup during platform development

Hello,

I’m trying to add support for a new platform with a couple of components: I’d appreciate some advice on how to include my code into HA during testing.

Currently, I install my platform library in the HA virtual environment in setuptool’s development mode, so changes to the library take effect immediately. But I’m still looking for an easy way to install the platform-specific modules into <config_dir>/custom_components/<component>, other than using simple links.

There is a feature request Support loading custom platforms, components etc. through setuptools entrypoints that might provide a solution, but it didn’t get a reply.

How do you handle this?

Thanks, maf