fix bug where the data files are not included in the package

This commit is contained in:
Mohamed HAIDARA 2017-11-08 17:49:18 +01:00
parent 6e5d062320
commit 29188a2d57
2 changed files with 5 additions and 0 deletions

3
MANIFEST.in Normal file
View file

@ -0,0 +1,3 @@
# Include the data files
include Readme.md
include ansibleplaybookgrapher/data/*

View file

@ -15,6 +15,8 @@ setup(name="ansible-playbook-grapher",
license="MIT",
install_requires=['graphviz', 'colour'],
packages=find_packages(exclude=['tests']),
package_data={"ansible-playbook-grapher": ['data/*']},
include_package_data=True,
download_url="https://github.com/haidaraM/ansible-playbook-grapher/archive/v" + __version__ + ".tar.gz",
classifiers=[
'Development Status :: 3 - Alpha',