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 3b8e224
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
7 changes: 0 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ jobs:
- image: circleci/python:3.6
environment:
TOXENV: lint
py27-core:
<<: *common
docker:
- image: circleci/python:2.7
environment:
TOXENV: py27
py34-core:
<<: *common
docker:
Expand All @@ -71,7 +65,6 @@ workflows:
test:
jobs:
- lint
- py27-core
- py34-core
- py35-core
- py36-core
6 changes: 2 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,16 @@
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',
'Programming Language :: Python :: Implementation :: PyPy',
],
)
5 changes: 1 addition & 4 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}-core
lint

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


[testenv:lint]
basepython=python
Expand Down

0 comments on commit 3b8e224

Please sign in to comment.