Skip to content

Commit af5e5b1

Browse files
committed
Upgrade to v0.0.31
1 parent 1b09a2c commit af5e5b1

File tree

1 file changed

+47
-39
lines changed

1 file changed

+47
-39
lines changed

setup.py

Lines changed: 47 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -2,57 +2,65 @@
22
import shutil
33
import os
44

5-
#remove the dist folder first if exists
5+
# remove the dist folder first if exists
66
if os.path.exists("dist"):
77
shutil.rmtree("dist")
88

9-
VERSION = '0.0.30'
9+
VERSION = "0.0.31"
1010

1111

12-
def write_version_py(filename='SigProfilerAssignment/version.py'):
12+
def write_version_py(filename="SigProfilerAssignment/version.py"):
1313
# Copied from numpy setup.py
1414
cnt = """
1515
# THIS FILE IS GENERATED FROM SigProfilerAssignment SETUP.PY
1616
short_version = '%(version)s'
1717
version = '%(version)s'
18-
Update = 'v0.0.30: Sample reconstruction plot fix and pandas version fix.'
18+
Update = 'v0.0.31: Resolve issue with export probability per mutation for exome data'
1919
2020
2121
"""
22-
fh = open(filename, 'w')
23-
fh.write(cnt % {'version': VERSION,})
22+
fh = open(filename, "w")
23+
fh.write(
24+
cnt
25+
% {
26+
"version": VERSION,
27+
}
28+
)
2429
fh.close()
2530

26-
with open('README.md') as f:
27-
long_description = f.read()
28-
29-
requirements=[
30-
'scipy>=1.6.3',
31-
'numpy>=1.21.2',
32-
'pandas>=1.2.4,<2.0.0',
33-
'SigProfilerMatrixGenerator>=1.2.14',
34-
'sigProfilerPlotting>=1.3.11',
35-
'statsmodels>=0.9.0',
36-
'scikit-learn>=0.24.2',
37-
'psutil>=5.6.1',
38-
'reportlab>=3.5.42',
39-
'PyPDF2>=3.0.0',
40-
'alive_progress>=2.4.1',
41-
'pdf2image>=1.16.0',
42-
'PyMuPDF>=1.21.0'
43-
]
44-
45-
write_version_py()
46-
setup(name='SigProfilerAssignment',
47-
version=VERSION,
48-
description='Mutational signatures attribution and decomposition tool',
49-
long_description=long_description,
50-
long_description_content_type='text/markdown', # This is important!
51-
url="https://github.com/AlexandrovLab/SigProfilerAssignment.git",
52-
author='Raviteja Vangara',
53-
author_email='[email protected]',
54-
license='UCSD',
55-
packages=['SigProfilerAssignment'],
56-
install_requires=requirements,
57-
include_package_data=True,
58-
zip_safe=False)
31+
32+
with open("README.md") as f:
33+
long_description = f.read()
34+
35+
requirements = [
36+
"scipy>=1.6.3",
37+
"numpy>=1.21.2",
38+
"pandas>=1.2.4,<2.0.0",
39+
"SigProfilerMatrixGenerator>=1.2.14",
40+
"sigProfilerPlotting>=1.3.11",
41+
"statsmodels>=0.9.0",
42+
"scikit-learn>=0.24.2",
43+
"psutil>=5.6.1",
44+
"reportlab>=3.5.42",
45+
"PyPDF2>=3.0.0",
46+
"alive_progress>=2.4.1",
47+
"pdf2image>=1.16.0",
48+
"PyMuPDF>=1.21.0",
49+
]
50+
51+
write_version_py()
52+
setup(
53+
name="SigProfilerAssignment",
54+
version=VERSION,
55+
description="Mutational signatures attribution and decomposition tool",
56+
long_description=long_description,
57+
long_description_content_type="text/markdown", # This is important!
58+
url="https://github.com/AlexandrovLab/SigProfilerAssignment.git",
59+
author="Raviteja Vangara",
60+
author_email="[email protected]",
61+
license="UCSD",
62+
packages=["SigProfilerAssignment"],
63+
install_requires=requirements,
64+
include_package_data=True,
65+
zip_safe=False,
66+
)

0 commit comments

Comments
 (0)