-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (34 loc) · 868 Bytes
/
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
import os
from setuptools import setup, find_packages, Command
__version__ = None
exec(open('genomic_regions/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')
setup(
name='genomic_regions',
version=__version__,
description='Consistently handle genomic regions',
packages=find_packages(exclude=["test"]),
install_requires=[
'pandas',
'numpy',
'pybedtools>=0.8.0',
'pysam',
'future',
'pyBigWig',
'intervaltree',
],
scripts=['bin/convert-regions'],
cmdclass={
'clean': CleanCommand
}
)