enjoy-digital / litepcie

Small footprint and configurable PCIe core
Other
487 stars 119 forks source link

Remove usage of `distutils` #139

Open Liamolucko opened 3 months ago

Liamolucko commented 3 months ago

distutils was removed in Python 3.12, causing litepcie to crash when trying to use it.

Liamolucko commented 6 days ago

@enjoy-digital, could you take a look at this?

One potential concern is that the dirs_exist_ok option was added in Python 3.8, when the README currently claims support for Python 3.6+. Is that still up to date?

enjoy-digital commented 6 days ago

Thanks @Liamolucko for the PR and sorry for the delay, I'll have a look, but this looks fine, we could probably bump Python version requirement.