Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
55 lines (48 loc) · 1.59 KB
/
Copy pathsetup.py
File metadata and controls
55 lines (48 loc) · 1.59 KB
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
from setuptools import setup
import shutil
import os
#remove the dist folder first if exists
if os.path.exists("dist"):
shutil.rmtree("dist")
VERSION = '1.0.5'
with open('README.md') as f:
long_description = f.read()
def write_version_py(filename='SigProfilerExtractor/version.py'):
# Copied from numpy setup.py
cnt = """
# THIS FILE IS GENERATED FROM SIGPROFILEREXTRACTOR SETUP.PY
short_version = '%(version)s'
version = '%(version)s'
Update = 'Heirarchy option deleted, clustering deleted and signatures orders by the mutation burden'
"""
fh = open(filename, 'w')
fh.write(cnt % {'version': VERSION,})
fh.close()
write_version_py()
setup(name='SigProfilerExtractor',
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=['SigProfilerExtractor'],
install_requires=[
'matplotlib>=2.2.2',
'scipy>=1.3.3',
'torch>=1.1.0',
'numpy>=1.17.4',
'pandas>=0.25.3',
'nimfa>=1.1.0',
'SigProfilerMatrixGenerator>=1.0.24',
'sigProfilerPlotting>=1.0.10',
'pillow',
'statsmodels>=0.9.0',
'scikit-learn>=0.22',
'psutil>=5.6.1',
'xlrd>=1.0.0'
],
include_package_data=True,
zip_safe=False)