Skip to content

Commit 9d681ad

Browse files
Clean Python 2 (#235)
1 parent 9bd033e commit 9d681ad

File tree

1 file changed

+10
-19
lines changed

1 file changed

+10
-19
lines changed

setup.py

+10-19
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,6 @@
1111
with open(os.path.join(base_dir, "workos", "__about__.py")) as f:
1212
exec(f.read(), about)
1313

14-
dev_requirements = [
15-
"flake8",
16-
"pytest==4.6.9",
17-
"pytest-cov==2.8.1",
18-
"six==1.13.0",
19-
]
20-
if sys.version_info.major == 3:
21-
dev_requirements.extend(
22-
[
23-
"black==22.3.0",
24-
"twine==4.0.2",
25-
"requests==2.30.0",
26-
"urllib3==2.0.2",
27-
]
28-
)
29-
3014
setup(
3115
name=about["__package_name__"],
3216
version=about["__version__"],
@@ -45,7 +29,16 @@
4529
license=about["__license__"],
4630
install_requires=["requests>=2.22.0"],
4731
extras_require={
48-
"dev": dev_requirements,
32+
"dev": [
33+
"flake8",
34+
"pytest==4.6.9",
35+
"pytest-cov==2.8.1",
36+
"six==1.13.0",
37+
"black==22.3.0",
38+
"twine==4.0.2",
39+
"requests==2.30.0",
40+
"urllib3==2.0.2",
41+
],
4942
":python_version<'3.4'": ["enum34"],
5043
},
5144
classifiers=[
@@ -54,8 +47,6 @@
5447
"License :: OSI Approved :: MIT License",
5548
"Operating System :: OS Independent",
5649
"Programming Language :: Python",
57-
"Programming Language :: Python :: 2",
58-
"Programming Language :: Python :: 2.7",
5950
"Programming Language :: Python :: 3",
6051
"Programming Language :: Python :: 3.4",
6152
"Programming Language :: Python :: 3.5",

0 commit comments

Comments
 (0)