Skip to content

Commit

Permalink
Pin OpenCV <= 3.4.9.31 for better Python distribution support. (#31)
Browse files Browse the repository at this point in the history
* add opencv to required packages in setup.py

* align package dependencies with deepcell-toolbox

* pin opencv to last supporting 2.7 build.

* bump version to 0.2.6 and format with a constant VERSION variable.

* add opencv limit to install_requires.

* Test installation using setup.py instead of requirements.txt
  • Loading branch information
willgraf committed Aug 13, 2020
1 parent 5617194 commit 1688179
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -14,7 +14,7 @@ python:
cache: pip

install:
- travis_retry pip install -r requirements.txt
- travis_retry pip install .
- travis_retry pip install pytest pytest-cov==2.5.1 pytest-pep8 coveralls

script:
Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
@@ -1,7 +1,7 @@
numpy
pandas
numpy>=1.16.4,<2
pandas>=0.23.3,<1
networkx>=2.1
scipy
scikit-image
opencv-python
scipy>=1.1.0,<2
scikit-image>=0.14.0,<0.17
opencv-python<=3.4.9.31
pathlib
9 changes: 6 additions & 3 deletions setup.py
Expand Up @@ -26,16 +26,19 @@
from setuptools import setup
from setuptools import find_packages

VERSION = '0.2.6'

setup(name='Deepcell_Tracking',
version='0.2.5',
version=VERSION,
description='Tracking cells and lineage with deep learning.',
author='Van Valen Lab',
author_email='vanvalenlab@gmail.com',
url='https://github.com/vanvalenlab/deepcell-tracking',
download_url='https://github.com/vanvalenlab/'
'deepcell-tracking/tarball/0.2.5',
'deepcell-tracking/tarball/{}'.format(VERSION),
license='LICENSE',
install_requires=['networkx>=2.1',
install_requires=['opencv-python<=3.4.9.31',
'networkx>=2.1',
'numpy',
'pandas',
'pathlib',
Expand Down

0 comments on commit 1688179

Please sign in to comment.