robotpy / robotpy-build

(mostly) automated C++ wrapping for Python
BSD 3-Clause "New" or "Revised" License
35 stars 16 forks source link

Make pyproject.toml wrapper generate section a dict #131

Closed auscompgeek closed 2 years ago

auscompgeek commented 3 years ago

Instead of:

[tool.robotpy-build.wrappers.foo]
generate = [
  { Foo = "foo/Foo.h" },
  { Bar = "foo/Bar.h" },
]

make it look like this:

[tool.robotpy-build.wrappers.foo.generate]
Foo = "foo/Foo.h"
Bar = "foo/Bar.h"

so that it's a bit less unwieldy.