Skip to content

Commit 813bcef

Browse files
committed
explicitly state which reference directories to include
1 parent 674d151 commit 813bcef

1 file changed

Lines changed: 6 additions & 29 deletions

File tree

setup.py

Lines changed: 6 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -53,35 +53,9 @@
5353
)
5454
] + tn93_extension
5555

56-
_refdir = join(
57-
split(
58-
split(
59-
abspath(__file__)
60-
)[0] # this_directory/
61-
)[0], # this_directory/../
62-
'BioExt',
63-
'BioExt',
64-
'data',
65-
'references'
66-
)
67-
68-
_installrefdirs = []
69-
70-
# Simplified logic to generate _installrefdirs
71-
for seqdir in glob(join(_refdir, '*')):
72-
globber = '*.*' # Assuming you want all file types, adjust as needed
73-
_installrefdirs.append(
74-
join(
75-
'data',
76-
'references',
77-
basename(seqdir),
78-
globber
79-
)
80-
)
81-
8256
setup(
8357
name='bioext',
84-
version='0.21.5',
58+
version='0.21.7',
8559
description='Misc utilities and definitions not included or hidden in BioPython',
8660
author='N Lance Hepler',
8761
author_email='nlhepler@gmail.com',
@@ -142,8 +116,11 @@
142116
package_data={
143117
'BioExt': [
144118
'data/fonts/ttf/*.ttf',
145-
'data/scorematrices/*.txt'
146-
] + _installrefdirs
119+
'data/scorematrices/*.txt',
120+
'data/references/cov2/*.*',
121+
'data/references/hxb2/*.*',
122+
'data/references/nl4-3/*.*'
123+
]
147124
},
148125
scripts=[
149126
'scripts/bam2fna',

0 commit comments

Comments
 (0)