Skip to content

Commit efcb0dd

Browse files
author
Ryan Delaney
committed
Add MANIFEST.in to include eco.json in package #5
Per http://python-packaging.readthedocs.io/en/latest/non-code-files.html
1 parent b4e0f51 commit efcb0dd

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include annotator/eco/eco.json

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,10 @@
8282
# If there are data files included in your packages that need to be
8383
# installed, specify them here. If using Python 2.6 or less, then these
8484
# have to be included in MANIFEST.in as well.
85-
package_data={
86-
'eco': ['annotator/eco/eco.json'],
87-
},
85+
# package_data={
86+
# 'eco': ['annotator/eco/eco.json'],
87+
# },
88+
include_package_data=True,
8889

8990
# Although 'package_data' is the preferred approach, in some case you may
9091
# need to place data files outside of your packages. See:

0 commit comments

Comments
 (0)