Skip to content

Commit

Permalink
Bundle generator resources with python package via package_data (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
jantrienes authored Sep 7, 2020
1 parent a20b036 commit 0d0fc64
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,13 @@ def run(self):
long_description_content_type="text/markdown",
url="https://github.com/nedap/deidentify",
packages=setuptools.find_packages(exclude=['tests', 'tests.*']),
package_data={'': ['LICENSE']},
package_data={
'': ['LICENSE'],
'deidentify': [
'surrogates/generators/resources/*.csv',
'surrogates/generators/resources/*.txt'
]
},
license="MIT License",
classifiers=[
"Programming Language :: Python :: 3",
Expand Down

0 comments on commit 0d0fc64

Please sign in to comment.