Skip to content

Commit d296e11

Browse files
updated py module requirements info for installer (#36)
* updated py module requirements info for installer * needs random2 lib as well
1 parent 47efdff commit d296e11

File tree

3 files changed

+24
-27
lines changed

3 files changed

+24
-27
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Genomic characterization is vital to the understanding and treatment of cancer.
6464

6565
## Installation
6666

67-
deTiN requires Numpy, Pandas, Scipy and Python 2.7.
67+
deTiN requires Numpy, Pandas==1.0.0, matplotlib==3.1.3, Scipy, random2 and Python 3.7.
6868

6969
pip install deTiN
7070

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
numpy
2-
matplotlib
3-
pandas
2+
matplotlib==3.1.3
3+
pandas==1.0.0
44
scipy
55
sklearn
6-
random
6+
random2
77
argparse

setup.py

Lines changed: 20 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,35 @@
11
import os
22
import re
33
from setuptools import setup, find_packages
4+
45
with open("deTiN/__about__.py") as reader:
56
__version__ = re.search(
6-
r'__version__ ?= ?[\'\"]([\w.]+)[\'\"]',
7-
reader.read()
7+
r"__version__ ?= ?[\'\"]([\w.]+)[\'\"]", reader.read()
88
).group(1)
99

1010

1111
# Setup information
1212
setup(
13-
name = 'deTiN',
14-
version = __version__,
15-
packages = find_packages(),
16-
description = 'Somatic analysis toolkit for dealing with tumor in normal contamination',
17-
author = 'Broad Institute - Cancer Genome Computational Analysis',
18-
author_email = 'amaro@broadinstitute.org',
19-
long_description = 'see publication',
20-
entry_points = {
21-
'console_scripts': [
22-
'deTiN = deTiN.deTiN:main'
23-
]
24-
},
25-
install_requires = [
26-
'numpy',
27-
'matplotlib',
28-
'pandas',
29-
'scipy',
30-
'sklearn',
31-
'argparse'
13+
name="deTiN",
14+
version=__version__,
15+
packages=find_packages(),
16+
description="Somatic analysis toolkit for dealing with tumor in normal contamination",
17+
author="Broad Institute - Cancer Genome Computational Analysis",
18+
author_email="amaro@broadinstitute.org",
19+
long_description="see publication",
20+
entry_points={"console_scripts": ["deTiN = deTiN.deTiN:main"]},
21+
install_requires=[
22+
"numpy",
23+
"matplotlib==3.1.3",
24+
"pandas==1.0.0",
25+
"scipy",
26+
"sklearn",
27+
"argparse",
28+
"random2",
3229
],
33-
classifiers = [
30+
classifiers=[
3431
"Programming Language :: Python :: 2",
3532
"Intended Audience :: Science/Research",
36-
"Topic :: Scientific/Engineering :: Bio-Informatics"
33+
"Topic :: Scientific/Engineering :: Bio-Informatics",
3734
],
3835
)

0 commit comments

Comments
 (0)