-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
64 lines (53 loc) · 1.45 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import os
from setuptools import setup, find_packages, Command
__version__ = None
exec(open('chess/version.py').read())
class CleanCommand(Command):
"""
Custom clean command to tidy up the project root.
"""
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
os.system('rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info ./htmlcov')
def read_file(filename):
with open(os.path.join(os.path.dirname(__file__), filename)) as file:
return file.read()
setup(
name='chess-hic',
version=__version__,
description='Quantitative comparison and automatic feature extraction for chromatin contact data.',
long_description=read_file('README.md'),
long_description_content_type='text/markdown',
url='https://github.com/vaquerizaslab/chess',
setup_requires=[
'setuptools>=18.0',
],
packages=find_packages(),
install_requires=[
'cython',
'numpy>=1.8.0',
'fanc>=0.9.9',
'scikit-image',
'future',
'pathos',
'pandas>=1.1.3',
'scipy',
'intervaltree',
'pybedtools',
'tqdm',
'kneed',
],
scripts=['bin/chess'],
cmdclass={
'clean': CleanCommand
},
classifiers=(
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
),
)