fix: Properly bundle object templates

pull/125/merge
Raphaël Vinot 2017-10-23 14:08:32 -04:00
parent cb166a6295
commit 8f16f741cf
2 changed files with 6 additions and 2 deletions

View File

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

View File

@ -39,7 +39,8 @@ setup(
'six' 'six'
], ],
include_package_data=True, include_package_data=True,
package_data={'pymisp': ['data/*.json', 'data/misp-objects/schema_objects.json', package_data={'pymisp': ['data/*.json', 'data/misp-objects',
'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',
'data/misp-objects/relationships/definition.json']}, 'data/misp-objects/relationships/definition.json']},