forked from wangjuan001/hicplus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
33 lines (30 loc) · 1.14 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
"""
Setup script for hicplus.
This is a free software under GPLv3. Therefore, you can modify, redistribute
or even mix it with other GPL-compatible codes. See the file LICENSE
included with the distribution for more details.
"""
import os, sys, hicplus, glob
import setuptools
if (sys.version_info.major!=3) or (sys.version_info.minor<6):
print('PYTHON 3.5+ 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 = 'hicplus',
version = hicplus.__version__,
packages = setuptools.find_packages(),
scripts = glob.glob('scripts/*'),
long_description = 'test description',
classifiers = [
'Programming Language :: Python :: 3.6',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Operating System :: POSIX',
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Bio-Informatics',
]
)