Skip to content

Commit

Permalink
Dropping python2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
6ug committed Oct 20, 2018
1 parent a779696 commit f8b6374
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
16 changes: 8 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,9 @@ jobs:
lint:
<<: *common
docker:
- image: circleci/python:3.6
- image: circleci/python:3.7
environment:
TOXENV: lint
py27-core:
<<: *common
docker:
- image: circleci/python:2.7
environment:
TOXENV: py27
py34-core:
<<: *common
docker:
Expand All @@ -66,12 +60,18 @@ jobs:
- image: circleci/python:3.6
environment:
TOXENV: py36-core
py37-core:
<<: *common
docker:
- image: circleci/python:3.7
environment:
TOXENV: py37-core
workflows:
version: 2
test:
jobs:
- lint
- py27-core
- py34-core
- py35-core
- py36-core
- py37-core
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,14 @@
package_data={'py_ecc': ['py.typed']},
install_requires=[
],
python_requires='>=2.7, <4',
python_requires='>=3.4, <4',
extras_require=extras_require,
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist=
py{27,34,35,36,37}-core
py{34,35,36,37}-core
lint

[flake8]
Expand All @@ -16,7 +16,6 @@ passenv=
deps =
-r{toxinidir}/requirements-dev.txt
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
py36: python3.6
Expand Down

0 comments on commit f8b6374

Please sign in to comment.