Skip to content

Commit cea8173

Browse files
authored
Merge pull request #639 from nsoranzo/drop_pkg_resources
Drop use of pkg_resources
2 parents bc2cd6e + 2e8a3d2 commit cea8173

4 files changed

Lines changed: 0 additions & 16 deletions

File tree

deprecated/tools/annotation_profiler/scripts/build_profile_indexes.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@
1313
except ImportError:
1414
from md5 import new as md5
1515

16-
#import BitSet from bx-python, try using eggs and package resources, fall back to any local installation
17-
try:
18-
from galaxy import eggs
19-
import pkg_resources
20-
pkg_resources.require( "bx-python" )
21-
except: pass #Maybe there is a local installation available
2216
from bx.bitset import BitSet
2317

2418
#Define constants

tool_collections/taxonomy/find_diag_hits/find_diag_hits.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@
4242
4343
"""
4444

45-
from galaxy import eggs
46-
import pkg_resources
47-
pkg_resources.require( 'pysqlite' )
4845
from pysqlite2 import dbapi2 as sqlite
4946
import string, sys, tempfile
5047

tools/lastz_paired_reads/lastz_paired_reads_wrapper.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@
4141
import optparse, os, subprocess, shutil, sys, tempfile, time
4242
from string import maketrans
4343

44-
from galaxy import eggs
45-
import pkg_resources
46-
pkg_resources.require( 'bx-python' )
4744
from bx.seq.twobit import *
4845
from bx.seq.fasta import FastaReader
4946
from galaxy.util.bunch import Bunch

tools/quality_filter/quality_filter.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88

99

1010
from __future__ import division
11-
from galaxy import eggs
12-
import pkg_resources
13-
pkg_resources.require( "lrucache" )
14-
import numpy
1511

1612
import sys
1713
import os, os.path

0 commit comments

Comments
 (0)