Skip to content

Commit 8d8dda2

Browse files
committed
minor updates, deprecate p2.7
1 parent bf8c09b commit 8d8dda2

File tree

7 files changed

+9
-15
lines changed

7 files changed

+9
-15
lines changed

.travis.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
dist: xenial
22
language: python
33
python:
4-
- "2.7"
54
- "3.5"
65
- "3.6"
76
- "3.7"
@@ -16,11 +15,7 @@ notifications:
1615
install:
1716
- sudo apt-get update
1817
- sudo apt-get install cmake libboost-python-dev
19-
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
20-
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
21-
else
22-
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
23-
fi;
18+
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
2419
- bash miniconda.sh -b -p $HOME/miniconda
2520
- export PATH="$HOME/miniconda/bin:$PATH"
2621
- hash -r
@@ -33,7 +28,6 @@ install:
3328
- source activate test-environment
3429
- travis_retry pip install --upgrade pip setuptools wheel
3530
- travis_retry pip install -r requirements.txt
36-
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install enum34; fi
3731
- pip install dlib
3832
- python setup.py install
3933
- pip install --upgrade pytest
@@ -51,6 +45,6 @@ script:
5145
matrix:
5246
include:
5347
- env: LINT_CHECK
54-
python: "2.7"
48+
python: "3.6"
5549
install: pip install flake8
5650
script: flake8

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Based on https://github.com/pytorch/pytorch/blob/master/Dockerfile
2-
FROM nvidia/cuda:9.2-cudnn7-devel-ubuntu16.04
2+
FROM nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04
33

44
RUN apt-get update && apt-get install -y --no-install-recommends \
55
build-essential \
@@ -22,7 +22,7 @@ RUN curl -o ~/miniconda.sh -O https://repo.continuum.io/miniconda/Miniconda3-la
2222
ENV PATH /opt/conda/bin:$PATH
2323

2424
RUN conda config --set always_yes yes --set changeps1 no && conda update -q conda
25-
RUN conda install pytorch torchvision cuda92 -c pytorch
25+
RUN conda install pytorch torchvision cudatoolkit=10.1 -c pytorch
2626

2727
# Install face-alignment package
2828
WORKDIR /workspace

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Please also see the ``examples`` folder
8585

8686
### Requirements
8787

88-
* Python 3.5+ or Python 2.7 (it may work with other versions too)
88+
* Python 3.5+ or Python 2.7 (it may work with other versions too). Support for Python 2.7 is deprecated.
8989
* Linux, Windows or macOS
9090
* pytorch (>=1.0)
9191

conda/conda_upload.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ USER=1adrianb
44
mkdir ~/conda-build
55
conda config --set anaconda_upload no
66
conda build conda/
7-
anaconda -t $CONDA_UPLOAD_TOKEN upload -u $USER /home/travis/miniconda/envs/test-environment/conda-bld/noarch/face_alignment-1.0.1-py_1.tar.bz2 --force
7+
anaconda -t $CONDA_UPLOAD_TOKEN upload -u $USER /home/travis/miniconda/envs/test-environment/conda-bld/noarch/face_alignment-1.1.1-py_1.tar.bz2 --force

conda/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% set version = "1.1.0" %}
1+
{% set version = "1.1.1" %}
22

33
package:
44
name: face_alignment

face_alignment/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
__author__ = """Adrian Bulat"""
44
__email__ = '[email protected]'
5-
__version__ = '1.1.0'
5+
__version__ = '1.1.1'
66

77
from .api import FaceAlignment, LandmarksType, NetworkSize

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 1.1.0
2+
current_version = 1.1.1
33
commit = True
44
tag = True
55

0 commit comments

Comments
 (0)