Skip to content

Commit

Permalink
Removed Python 2.7 due to EOL. Fixes audreyfeldroy#405 and audreyfeld…
Browse files Browse the repository at this point in the history
  • Loading branch information
ChadBailey authored and ashwinvis committed Feb 25, 2021
1 parent fd88801 commit a5227c0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ Before you submit a pull request, check that it meets these guidelines:
new functionality into a function with a docstring, and add the feature to
the list in README.rst.

3. The pull request should work for Python 3.6 and above.
Check https://travis-ci.org/ashwinvis/cookiecutter-pypack/pull_requests and
3. The pull request should work for Python 2.7, 3.5, 3.6 and 3.7, 3.8 and for PyPy. Check
https://travis-ci.org/audreyr/cookiecutter-pypackage/pull_requests and
make sure that the tests pass for all supported Python versions.

Add a New Test
Expand Down
4 changes: 1 addition & 3 deletions {{cookiecutter.project_slug}}/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,14 @@
setup(
author="{{ cookiecutter.full_name.replace('\"', '\\\"') }}",
author_email='{{ cookiecutter.email }}',
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
python_requires='>=3.5, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
{%- if cookiecutter.open_source_license in license_classifiers %}
'{{ license_classifiers[cookiecutter.open_source_license] }}',
{%- endif %}
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
Expand Down
2 changes: 1 addition & 1 deletion {{cookiecutter.repo_name}}/tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py36, py37, py38, flake8
envlist = py27, py35, py36, py37, py38, flake8

[travis]
python =
Expand Down

0 comments on commit a5227c0

Please sign in to comment.