improve package structure with capabilities file

This commit is contained in:
Patrick Kanzler 2019-06-19 14:14:59 +02:00
parent 6c6fe9bccf
commit 2d97c0bbbd
2 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
include *.rst
include *.txt
include COPYING
include LICENSE
include INSTALL
include tox.ini

View File

@ -56,7 +56,7 @@ setup(
platforms='any',
package_dir={"": "src"},
packages=find_packages(where="src", exclude=["tests", "tests.*"]),
package_data={'': ['COPYING', 'src/escpos/capabilities.json']},
package_data={'escpos': ['capabilities.json']},
include_package_data=True,
classifiers=[
'Development Status :: 4 - Beta',