enjoy-digital / litesdcard

Small footprint and configurable SDCard core
Other
107 stars 35 forks source link

setup.py: Add emulator/verilog/** to package_data #30

Closed nelgau closed 1 year ago

nelgau commented 1 year ago

After installing the suite of LiteX cores as packages in a virtual environment, I discovered that litex_sim --with-sdcard complains of being unable to locate the modules defined in emulator/verilog. Adding these files to this package's data appears to fix the problem, allowing the build to complete successfully.

If this isn't the correct way to solve my issue, let me know what you'd prefer and I'll make the requested changes.

nelgau commented 1 year ago

I see elsewhere that MANIFEST.in is used for a similar purpose. Let me know if that would be preferable.

enjoy-digital commented 1 year ago

Hi @nelgau,

sorry for the delay. Thanks for the PR, I indeed have a preference for a MANIFEST.in for consistency with other repos. I'll have a look at this (unless you want to).

nelgau commented 1 year ago

@enjoy-digital Thanks so much. If you'll take a look at it, I'll close this in favor of your preferred solution.