Skip to content

Commit

Permalink
updates with setup tests redirected
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasleen Grewal committed Mar 18, 2020
1 parent d120e16 commit 558c1c3
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 9 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include README.md
include cancerscope/resources/*

include requirements.txt
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[![build_status](https://travis-ci.org/jasgrewal/cancerscope.svg?branch=master)](https://travis-ci.org/jasgrewal/cancerscope)
[![Documentation Status](https://readthedocs.org/projects/cancerscope/badge/?version=latest)](http://cancerscope.readthedocs.io/?badge=latest)
[![license](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![downloads](https://img.shields.io/pypi/dw/cancerscope)](https://img.shields.io/pypi/dw/cancerscope)
[![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/ansicolortags.svg)](https://pypi.python.org/pypi/cancerscope/)

Expand All @@ -15,7 +16,7 @@ Since SCOPE is an ensemble-based approach, it is possible to train additional mo
## Installation

### Using theano and lasagne backend
Version 0.41 is the last compatible version (py2.7-py3.7 supported)
All releases pre-Version 1.00 are theano and lasagne compatible (py2.7-py3.7 supported)

Before installing **cancerscope**, you will need to install the correct version of the packages [lasagne](https://lasagne.readthedocs.io/en/latest/) and [theano](https://pypi.org/project/Theano/).
`pip install --upgrade https://github.com/Theano/Theano/archive/master.zip`
Expand Down
2 changes: 1 addition & 1 deletion cancerscope/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@

if sys.version_info < (2, 7):
raise ImportError("Cancerscope module requires Python 2.7*")
__version__ = '0.41'
__version__ = '0.42'


9 changes: 9 additions & 0 deletions cancerscope/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
coverage
numpy
scikit-learn>=0.18
scipy
requests
pandas
pyyaml
matplotlib>=2.2.2
pysocks==1.6.8
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from setuptools import setup, find_packages
import os, sys
import re
from tests import *
#from tests import *

"""Identify basic variables needd for setup"""
pckg_dir = os.path.abspath(os.path.dirname(__file__))
Expand Down Expand Up @@ -42,7 +42,7 @@
install_requires=requirements,
include_package_data=True, zip_safe=False,
test_suite='nose.collector', tests_require=['nose'],
classifiers = ['Programming Language :: Python :: 2.7', 'Topic :: Scientific/Engineering :: Artificial Intelligence', 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Healthcare Industry', 'Topic :: Scientific/Engineering :: Medical Science Apps.', 'Topic :: Scientific/Engineering :: Bio-Informatics'],
classifiers = ['Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Topic :: Scientific/Engineering :: Artificial Intelligence', 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Healthcare Industry', 'Topic :: Scientific/Engineering :: Medical Science Apps.', 'Topic :: Scientific/Engineering :: Bio-Informatics'],
package_data = {'cancerscope': ['resources/*.txt', '*.rst']}
)

1 change: 0 additions & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

11 changes: 8 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
[tox]
envlist = py27,py36
envlist = py36
requires = tox-conda

[testenv]
deps = pytest
commands =
pip install --upgrade https://github.com/Theano/Theano/archive/master.zip
pip install --upgrade https://github.com/Lasagne/Lasagne/archive/master.zip
pytest

deps =
-rrequirements.txt
pytest
passenv = PYTHONPATH
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"key":"/projects/jgrewal_prj/mygits/cancerscope/.tox/py37","last_check":"2020-03-18T18:30:55Z","pypi_version":"20.0.2"}

0 comments on commit 558c1c3

Please sign in to comment.