Skip to content

Commit

Permalink
Fix upper versions of NumPy and ImgAug (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
creafz authored and albu committed Jan 16, 2019
1 parent 6cc90c2 commit c3cc071
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
5 changes: 0 additions & 5 deletions .appveyor.yml
Expand Up @@ -8,17 +8,12 @@ environment:

matrix:
- PYTHON: 'C:\Python27-x64'
SHAPELY_WHEEL: 'https://download.lfd.uci.edu/pythonlibs/r5uhg2lo/Shapely-1.6.4.post1-cp27-cp27m-win_amd64.whl'
- PYTHON: 'C:\Python35-x64'
SHAPELY_WHEEL: 'https://download.lfd.uci.edu/pythonlibs/r5uhg2lo/Shapely-1.6.4.post1-cp35-cp35m-win_amd64.whl'
- PYTHON: 'C:\Python36-x64'
SHAPELY_WHEEL: 'https://download.lfd.uci.edu/pythonlibs/r5uhg2lo/Shapely-1.6.4.post1-cp36-cp36m-win_amd64.whl'
- PYTHON: 'C:\Python37-x64'
SHAPELY_WHEEL: 'https://download.lfd.uci.edu/pythonlibs/r5uhg2lo/Shapely-1.6.4.post1-cp37-cp37m-win_amd64.whl'

install:
- '%PYTHON%\python.exe -m pip install -U pip wheel setuptools'
- '%PYTHON%\python.exe -m pip install %SHAPELY_WHEEL%'
- '%PYTHON%\python.exe -m pip install .[tests]'
- '%PYTHON%\python.exe -m pip install flake8 flake8-docstrings'

Expand Down
2 changes: 1 addition & 1 deletion albumentations/__init__.py
@@ -1,6 +1,6 @@
from __future__ import absolute_import

__version__ = '0.1.10'
__version__ = '0.1.11'

from .core.composition import *
from .core.transforms_interface import *
Expand Down
8 changes: 4 additions & 4 deletions conda.recipe/meta.yaml
Expand Up @@ -15,17 +15,17 @@ build:
requirements:
build:
- python
- numpy>=1.11.1
- numpy>=1.11.1,<1.16.0
- scipy
- opencv

run:
- python
- numpy>=1.11.1
- numpy>=1.11.1,<1.16.0
- scipy
- opencv
# ImgAug is not at Conda and should be installed via pip install 'imgaug>=0.2.5'
# - imgaug>=0.2.5
# ImgAug is not at Conda and should be installed via pip install 'imgaug>=0.2.5,<0.2.7'
# - imgaug>=0.2.5,<0.2.7

test:
imports:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -31,11 +31,11 @@ def get_long_description():
description='Fast image augmentation library and easy to use wrapper around other libraries',
long_description=get_long_description(),
long_description_content_type='text/markdown',
author='Buslaev Alexander, Alexander Parinov, Vladimir Iglovikov',
author='Buslaev Alexander, Alexander Parinov, Vladimir Iglovikov, Eugene Khvedchenya',
license='MIT',
url='https://github.com/albu/albumentations',
packages=find_packages(exclude=['tests']),
install_requires=['numpy>=1.11.1', 'scipy', 'opencv-python', 'imgaug>=0.2.5'],
install_requires=['numpy>=1.11.1,<1.16.0', 'scipy', 'opencv-python', 'imgaug>=0.2.5,<0.2.7'],
extras_require={'tests': get_test_requirements()},
classifiers=[
'Development Status :: 4 - Beta',
Expand Down

0 comments on commit c3cc071

Please sign in to comment.