Skip to content

Commit

Permalink
Make sure that the tmp example directory gets included
Browse files Browse the repository at this point in the history
  • Loading branch information
susannasiebert committed Aug 3, 2016
1 parent 14c0310 commit 405a780
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
@@ -1,4 +1,5 @@
from setuptools import setup
import os

import sys
if sys.version_info < (3,5):
Expand All @@ -7,6 +8,11 @@
print("pVAC-Seq requires python 3.5 or greater")
sys.exit(1)

data_files = []
for dirpath, dirnames, filenames in os.walk("pvacseq/example_data"):
for filename in filenames:
data_files.append(os.path.join('..', dirpath, filename))

setup(
name="pvacseq",
version="3.0.4",
Expand All @@ -21,7 +27,7 @@
'requests',
],
package_data={
'pvacseq' : ['example_data/*', 'VEP_plugins/*', 'iedb_alleles/*']
'pvacseq' : data_files + ['VEP_plugins/*', 'iedb_alleles/*']
},
classifiers=[
'Development Status :: 4 - Beta',
Expand Down

0 comments on commit 405a780

Please sign in to comment.