fix: properly bundle object templates

pull/125/merge
Raphaël Vinot 2017-10-24 09:07:33 -04:00
parent 066a9836e0
commit 39ffa91cd4
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
include pymisp/data/*.json include pymisp/data/*.json
include pymisp/data/misp-objects/*.json include pymisp/data/misp-objects/*.json
include pymisp/misp-objects/objects/*/definition.json include pymisp/data/misp-objects/objects/*/definition.json
include pymisp/misp-objects/relationships/definition.json include pymisp/data/misp-objects/relationships/definition.json

View File

@ -39,7 +39,7 @@ setup(
'six' 'six'
], ],
include_package_data=True, include_package_data=True,
package_data={'pymisp': ['data/*.json', 'data/misp-objects', package_data={'pymisp': ['data/*.json',
'data/misp-objects/schema_objects.json', 'data/misp-objects/schema_objects.json',
'data/misp-objects/schema_relationships.json', 'data/misp-objects/schema_relationships.json',
'data/misp-objects/objects/*/definition.json', 'data/misp-objects/objects/*/definition.json',