Skip to content

Commit

Permalink
updated py module requirements info for installer (#36)
Browse files Browse the repository at this point in the history
* updated py module requirements info for installer

* needs random2 lib as well
  • Loading branch information
briandiamondage-sema4 committed May 20, 2022
1 parent 47efdff commit d296e11
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 27 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Genomic characterization is vital to the understanding and treatment of cancer.

## Installation

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

pip install deTiN

Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
numpy
matplotlib
pandas
matplotlib==3.1.3
pandas==1.0.0
scipy
sklearn
random
random2
argparse
43 changes: 20 additions & 23 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,38 +1,35 @@
import os
import re
from setuptools import setup, find_packages

with open("deTiN/__about__.py") as reader:
__version__ = re.search(
r'__version__ ?= ?[\'\"]([\w.]+)[\'\"]',
reader.read()
r"__version__ ?= ?[\'\"]([\w.]+)[\'\"]", reader.read()
).group(1)


# Setup information
setup(
name = 'deTiN',
version = __version__,
packages = find_packages(),
description = 'Somatic analysis toolkit for dealing with tumor in normal contamination',
author = 'Broad Institute - Cancer Genome Computational Analysis',
author_email = 'amaro@broadinstitute.org',
long_description = 'see publication',
entry_points = {
'console_scripts': [
'deTiN = deTiN.deTiN:main'
]
},
install_requires = [
'numpy',
'matplotlib',
'pandas',
'scipy',
'sklearn',
'argparse'
name="deTiN",
version=__version__,
packages=find_packages(),
description="Somatic analysis toolkit for dealing with tumor in normal contamination",
author="Broad Institute - Cancer Genome Computational Analysis",
author_email="amaro@broadinstitute.org",
long_description="see publication",
entry_points={"console_scripts": ["deTiN = deTiN.deTiN:main"]},
install_requires=[
"numpy",
"matplotlib==3.1.3",
"pandas==1.0.0",
"scipy",
"sklearn",
"argparse",
"random2",
],
classifiers = [
classifiers=[
"Programming Language :: Python :: 2",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Bio-Informatics"
"Topic :: Scientific/Engineering :: Bio-Informatics",
],
)

0 comments on commit d296e11

Please sign in to comment.