Skip to content

Commit 55b5c13

Browse files
authored
Merge pull request ageitgey#1218 from ageitgey/ag-bump-drop-python-2
Drop Python 2 support and bump to 1.4.0
2 parents 2604279 + 8f33277 commit 55b5c13

File tree

7 files changed

+21
-10
lines changed

7 files changed

+21
-10
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
runs-on: ubuntu-latest
66
strategy:
77
matrix:
8-
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
8+
python-version: [3.5, 3.6, 3.7, 3.8]
99
steps:
1010
- name: Checkout
1111
uses: actions/checkout@v2

HISTORY.rst

+13
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
History
22
=======
33

4+
1.4.0 (2020-09-26)
5+
------------------
6+
7+
* Dropping support for Python 2.x
8+
* --upsample a parameter for command line face_recognition
9+
10+
1.3.0 (2020-02-20)
11+
------------------
12+
13+
* Drop support for Python 3.4 and add 3.8
14+
* Blink detection example
15+
16+
417
1.2.3 (2018-08-21)
518
------------------
619

Makefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,9 @@ servedocs: docs ## compile the docs watching for changes
7575
watchmedo shell-command -p '*.rst' -c '$(MAKE) -C docs html' -R -D .
7676

7777
release: clean ## package and upload a release
78-
python3 setup.py sdist upload
79-
python3 setup.py bdist_wheel upload
78+
python3 setup.py sdist
79+
python3 setup.py bdist_wheel
80+
twine upload dist/*
8081

8182
dist: clean ## builds source and wheel package
8283
python3 setup.py sdist

face_recognition/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
__author__ = """Adam Geitgey"""
44
__email__ = 'ageitgey@gmail.com'
5-
__version__ = '1.2.3'
5+
__version__ = '1.4.0'
66

77
from .api import load_image_file, face_locations, batch_face_locations, face_landmarks, face_encodings, compare_faces, face_distance

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 1.3.0
2+
current_version = 1.4.0
33
commit = True
44
tag = True
55

setup.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
setup(
2626
name='face_recognition',
27-
version='1.3.0',
27+
version='1.4.0',
2828
description="Recognize faces from Python or from the command line",
2929
long_description=readme + '\n\n' + history,
3030
author="Adam Geitgey",
@@ -52,8 +52,6 @@
5252
'Intended Audience :: Developers',
5353
'License :: OSI Approved :: MIT License',
5454
'Natural Language :: English',
55-
"Programming Language :: Python :: 2",
56-
'Programming Language :: Python :: 2.7',
5755
'Programming Language :: Python :: 3',
5856
'Programming Language :: Python :: 3.5',
5957
'Programming Language :: Python :: 3.6',

tox.ini

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ envlist =
1010

1111
[gh-actions]
1212
python =
13-
2.7: py27, flake8
1413
3.5: py35, flake8
1514
3.6: py36, flake8
1615
3.7: py37, flake8
@@ -19,7 +18,7 @@ python =
1918

2019
[testenv]
2120
commands =
22-
python setup.py test
21+
python -m unittest discover
2322

2423

2524
[testenv:flake8]

0 commit comments

Comments
 (0)