-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
45 lines (38 loc) · 1.35 KB
/
setup.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
# Author: Xiaotao Wang
"""
Setup script for HiCLift.
"""
import os, sys, HiCLift, glob
import setuptools
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
if (sys.version_info.major!=3) or (sys.version_info.minor<7):
print('PYTHON 3.7+ IS REQUIRED. YOU ARE CURRENTLY USING PYTHON {}'.format(sys.version.split()[0]))
sys.exit(2)
# Guarantee Unix Format
for src in glob.glob('scripts/*'):
text = open(src, 'r').read().replace('\r\n', '\n')
open(src, 'w').write(text)
setuptools.setup(
name = 'HiCLift',
version = HiCLift.__version__,
author = HiCLift.__author__,
author_email = 'wangxiaotao@fudan.edu.cn',
url = 'https://github.com/XiaoTaoWang/HiCLift',
description = 'A fast and efficient tool for converting chromatin interaction data between genome assemblies',
keywords = 'Hi-C LiftOver',
packages = setuptools.find_packages(),
package_data = {
'': ['data/*']
},
scripts = glob.glob('scripts/*'),
long_description = read('README.rst'),
long_description_content_type='text/x-rst',
classifiers = [
'Programming Language :: Python :: 3 :: Only',
'Operating System :: POSIX',
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Bio-Informatics',
]
)