forked from loafle/openapi-generator-original
[python-experimental] Removes python2 (#6991)
* Removes future from python-exp v3 sample * Removes future from python-exp v2 sample * Deletes future from remaining python-exp files * Removes six from python-exp templates * Removes six from python-exp samples * Removes mock from python-exp * Python-exp switched to py3 * Removes python 2.7 for python-exp ci testing * Requires python>=3.3 for python-exp * Reverts unnecessary changes to two templates
This commit is contained in:
@@ -23,12 +23,10 @@ VERSION = "1.0.0"
|
||||
|
||||
REQUIRES = [
|
||||
"urllib3 >= 1.15",
|
||||
"six >= 1.10",
|
||||
"certifi",
|
||||
"python-dateutil",
|
||||
"nulltype",
|
||||
]
|
||||
EXTRAS = {':python_version <= "2.7"': ['future']}
|
||||
|
||||
setup(
|
||||
name=NAME,
|
||||
@@ -38,8 +36,8 @@ setup(
|
||||
author_email="team@openapitools.org",
|
||||
url="",
|
||||
keywords=["OpenAPI", "OpenAPI-Generator", "OpenAPI Extension with dynamic servers"],
|
||||
python_requires=">=3.3",
|
||||
install_requires=REQUIRES,
|
||||
extras_require=EXTRAS,
|
||||
packages=find_packages(exclude=["test", "tests"]),
|
||||
include_package_data=True,
|
||||
license="Apache-2.0",
|
||||
|
||||
Reference in New Issue
Block a user