Skip to content

Commit

Permalink
Follow setuptools chapter 'Subdirectory for Data Files'
Browse files Browse the repository at this point in the history
  • Loading branch information
JasperCraeghs committed Jan 12, 2024
1 parent f9df8f2 commit 7e57dce
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,12 @@
'Topic :: Utilities',
],
platforms='any',
packages=find_namespace_packages(include=['mlx.xunit2rst']),
package_data={'mlx.xunit2rst': ['mlx/xunit2rst/*.mako', 'mlx/xunit2rst/assets/*']},
packages=find_namespace_packages(where='.'),
package_dir={"": "."},
package_data={
'mlx.xunit2rst': ['*.mako'],
'mlx.xunit2rst.assets': ['*.css']
},
include_package_data=True,
install_requires=requires,
python_requires='>=3.8',
Expand Down

0 comments on commit 7e57dce

Please sign in to comment.