forked from AlexandrovLab/SigProfilerExtractor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (47 loc) · 1.47 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
from setuptools import setup
import shutil
import os
#remove the dist folder first if exists
if os.path.exists("dist"):
shutil.rmtree("dist")
VERSION = '0.0.5.72'
with open('README.md') as f:
long_description = f.read()
def write_version_py(filename='sigproextractor/version.py'):
# Copied from numpy setup.py
cnt = """
# THIS FILE IS GENERATED FROM SIGPROEXTRACTOR SETUP.PY
short_version = '%(version)s'
version = '%(version)s'
"""
fh = open(filename, 'w')
fh.write(cnt % {'version': VERSION,})
fh.close()
write_version_py()
setup(name='sigproextractor',
version=VERSION,
description='Extracts mutational signatures from mutational catalogues',
long_description=long_description,
long_description_content_type='text/markdown', # This is important!
url="https://github.com/AlexandrovLab/SigProfilerExtractor.git",
author='S Mishu Ashiqul Islam',
author_email='m0islam@ucsd.edu',
license='UCSD',
packages=['sigproextractor'],
install_requires=[
'matplotlib>=2.2.2',
'scipy>=1.1.0',
'torch>=1.1.0',
'numpy>=1.14.4',
'pandas>=0.23.4',
'nimfa>=1.1.0',
'SigProfilerMatrixGenerator>=1.0.17',
'sigProfilerPlotting>=1.0.5',
'pillow',
'statsmodels>=0.9.0',
'scikit-learn>=0.20.2',
'psutil>=5.6.1',
'xlrd>=1.0.0'
],
include_package_data=True,
zip_safe=False)