-
Notifications
You must be signed in to change notification settings - Fork 1
/
__about__.py
84 lines (74 loc) · 3.02 KB
/
__about__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#!/usr/bin/env python3
# Daniel Stribling
# Renne Lab, University of Florida
# Hybkit Project : https://www.github.com/RenneLab/hybkit
'''
Package details for the hybkit project.
'''
import os
import sys
if sys.version_info.major >= 3 and sys.version_info.minor >= 7:
from importlib import resources as importlib_resources
else:
import importlib_resources
project_name = 'hybkit'
version = "0.1.8"
description = 'Toolkit for analysis of .hyb format genomic '
description += 'sequence data from ribonomics experiments.'
project_url = 'https://github.com/RenneLab/hybkit'
project_download_url = 'https://github.com/RenneLab/hybkit' + '/tarball/' + version
keywords = 'genetics genomics ribonomics bioinformatics hyb CLASH qCLASH miRNA '
keywords += 'RNA DNA vienna viennad unafold'
name_and_version = project_name + '-' + version
module_dir = importlib_resources.files('hybkit')
prefix_data_dir = os.path.join(sys.prefix, name_and_version)
#Putting in try block to allow use with exec()
try:
local_data_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
except NameError:
local_data_dir = 'using_with_exec'
if os.path.isdir(os.path.join(prefix_data_dir, 'databases')):
hybkit_data_dir = prefix_data_dir
elif os.path.isdir(os.path.join(local_data_dir, 'databases')):
hybkit_data_dir = local_data_dir
else:
print('WARNING: hybkit_data_dir variable cannot be set.')
hybkit_data_dir = ''
databases_dir = os.path.join(hybkit_data_dir, 'databases')
reference_data_dir = os.path.join(hybkit_data_dir, 'reference_data')
docs_dir = os.path.join(hybkit_data_dir, 'docs')
scripts_extra_dir = os.path.join(hybkit_data_dir, 'scripts_extra')
default_string_match_params = os.path.join(module_dir, 'string_match_params.csv')
# For a list of valid classifiers, see https://pypi.org/classifiers/
classifiers = [
'Development Status :: 4 - Beta',
'Natural Language :: English',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Software Development :: Libraries :: Python Modules',
'Operating System :: OS Independent',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
]
info_urls = {
'Renne Lab Github': 'https://github.com/RenneLab',
'Renne Lab Mainpage': 'https://www.rennelab.com/',
'Hyb Format Specification':
'https://www.sciencedirect.com/science/article/pii/S1046202313004180',
}
__author__ = "Daniel Stribling"
__contact__ = "ds@ufl.edu"
__credits__ = ["Daniel B. Stribling", "Rolf Renne"]
__date__ = "2020/03/10"
__deprecated__ = False
__email__ = "ds@ufl.edu"
__license__ = "GPLv3"
__maintainer__ = "Renne Group, University of Florida"
__status__ = "Development"
__version__ = version
spec_version = __version__ # Define separate specification version.