Skip to content

Commit

Permalink
add Python 3.7 as supported version (#885)
Browse files Browse the repository at this point in the history
* add Python3.7 as supported version
* no need to explicitly exclude ez_setup
  • Loading branch information
cgoldberg authored Sep 20, 2018
1 parent c153a01 commit 2ba8e44
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ language: python
cache: pip
matrix:
include:
- python: 3.7
env: TOXENV=py37
dist: xenial
sudo: true
- python: 3.6
env: TOXENV=py36
- python: 3.5
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ Open source licensed under the MIT license (see _LICENSE_ file for details).

## Supported Python Versions

Locust supports Python 2.7, 3.4, 3.5, and 3.6.
Locust is supported on Python 2.7, 3.4, 3.5, 3.6, 3.7.
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ To see available options, run:
Supported Python Versions
-------------------------

Locust supports Python 2.7, 3.4, 3.5, and 3.6.
Locust is supported on Python 2.7, 3.4, 3.5, 3.6, 3.7.


Installing Locust on Windows
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

from setuptools import find_packages, setup


# parse version from locust/__init__.py
_version_re = re.compile(r'__version__\s+=\s+(.*)')
_init_file = os.path.join(os.path.abspath(os.path.dirname(__file__)), "locust", "__init__.py")
Expand All @@ -29,6 +30,7 @@
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
],
Expand All @@ -37,7 +39,7 @@
author_email='',
url='https://locust.io/',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
packages=find_packages(exclude=['examples', 'tests']),
include_package_data=True,
zip_safe=False,
install_requires=["gevent>=1.2.2", "flask>=0.10.1", "requests>=2.9.1", "msgpack>=0.4.2", "six>=1.10.0", "pyzmq>=16.0.2"],
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27, py34, py35, py36
envlist = py27, py34, py35, py36, py37

[testenv]
deps =
Expand Down

0 comments on commit 2ba8e44

Please sign in to comment.