From b81ee55fff3a2105408301181f945a935489dd83 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Fri, 28 Oct 2022 09:20:40 +0000 Subject: [PATCH] added 3 to python and setup.py --- bin/cherri | 6 +++--- bin/find_occupied_regions.py | 2 +- bin/find_trusted_RRI.py | 2 +- bin/generate_pos_neg_with_context.py | 2 +- bin/get_features.py | 2 +- rrieval/lib.py | 2 +- setup.py | 12 +++++------- 7 files changed, 13 insertions(+), 15 deletions(-) diff --git a/bin/cherri b/bin/cherri index 6d90182..22dd423 100644 --- a/bin/cherri +++ b/bin/cherri @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import pandas as pd import argparse import os @@ -8,11 +8,11 @@ import sys import rrieval.lib as rl from scipy.sparse import csr_matrix, vstack, hstack, load_npz, save_npz from ubergauss.tools import loadfile, dumpfile -import subprocess +# import subprocess -__version__ = "0.3" +__version__ = "0.4" """ diff --git a/bin/find_occupied_regions.py b/bin/find_occupied_regions.py index 1fd724e..2794ee6 100644 --- a/bin/find_occupied_regions.py +++ b/bin/find_occupied_regions.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import pandas as pd from collections import defaultdict import argparse diff --git a/bin/find_trusted_RRI.py b/bin/find_trusted_RRI.py index ed438c2..6cab86a 100644 --- a/bin/find_trusted_RRI.py +++ b/bin/find_trusted_RRI.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import pandas as pd import math import numpy as np diff --git a/bin/generate_pos_neg_with_context.py b/bin/generate_pos_neg_with_context.py index 75b3671..cf51862 100644 --- a/bin/generate_pos_neg_with_context.py +++ b/bin/generate_pos_neg_with_context.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import pandas as pd import math import numpy as np diff --git a/bin/get_features.py b/bin/get_features.py index 89ec004..765506e 100644 --- a/bin/get_features.py +++ b/bin/get_features.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import pandas as pd import math import matplotlib as mpl diff --git a/rrieval/lib.py b/rrieval/lib.py index c3bad6b..3fa2a4a 100644 --- a/rrieval/lib.py +++ b/rrieval/lib.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 #general imports diff --git a/setup.py b/setup.py index 0b6e7b6..acdd994 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -# -*- coding: utf-8 -*- +#!/usr/bin/env python3 from setuptools import setup, find_packages @@ -11,21 +11,19 @@ setup( name='cherri', - version='0.3', + version='0.4', description='Cherri is a tool for classification of RNA-RNA interactions.', long_description=readme, long_description_content_type='text/markdown', author='Teresa Mueller', author_email='muellert@informatik.uni-freiburg.de', - url='https://github.com/teresa-m/Cherri', + url='https://github.com/BackofenLab/Cherri', license=license, scripts=['bin/cherri', 'bin/find_occupied_regions.py', 'bin/find_trusted_RRI.py', 'bin/generate_pos_neg_with_context.py', 'bin/get_features.py'], packages=find_packages(exclude=('tests', 'docs')), - package_data={'': ['IntaRNA_param/*']}, + package_data={'rrieval': ['IntaRNA_param/*']}, include_package_data=True, - #packages=['rrieval'], - # package_data={'rrieval': ['lib.py','IntaRNA_param/IntaRNA_param.txt']}, - zip_safe=False + zip_safe=False, )