Skip to content

Commit 8002d29

Browse files
committed
Formatted with black.
1 parent 955460a commit 8002d29

File tree

1 file changed

+62
-31
lines changed

1 file changed

+62
-31
lines changed

setup.py

Lines changed: 62 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def version():
1313

1414

1515
def readme():
16-
with open('README.rst') as f:
16+
with open("README.rst") as f:
1717
return f.read()
1818

1919

@@ -27,40 +27,71 @@ def readme():
2727
keywords="auto-tuning gpu computing pycuda cuda pyopencl opencl",
2828
url="https://KernelTuner.github.io/kernel_tuner/",
2929
project_urls={
30-
'Documentation': 'https://KernelTuner.github.io/kernel_tuner/',
31-
'Source': 'https://github.com/KernelTuner/kernel_tuner',
32-
'Tracker': 'https://github.com/KernelTuner/kernel_tuner/issues',
30+
"Documentation": "https://KernelTuner.github.io/kernel_tuner/",
31+
"Source": "https://github.com/KernelTuner/kernel_tuner",
32+
"Tracker": "https://github.com/KernelTuner/kernel_tuner/issues",
3333
},
34-
packages=['kernel_tuner', 'kernel_tuner.backends', 'kernel_tuner.energy', 'kernel_tuner.observers', 'kernel_tuner.runners', 'kernel_tuner.strategies'],
34+
packages=[
35+
"kernel_tuner",
36+
"kernel_tuner.backends",
37+
"kernel_tuner.energy",
38+
"kernel_tuner.observers",
39+
"kernel_tuner.runners",
40+
"kernel_tuner.strategies",
41+
],
3542
long_description=readme(),
36-
long_description_content_type='text/x-rst',
43+
long_description_content_type="text/x-rst",
3744
classifiers=[
38-
'Environment :: Console',
39-
'Intended Audience :: Developers',
40-
'Intended Audience :: Science/Research',
41-
'Intended Audience :: Education',
42-
'License :: OSI Approved :: Apache Software License',
43-
'Natural Language :: English',
44-
'Operating System :: POSIX :: Linux',
45-
'Programming Language :: Python :: 3.7',
46-
'Programming Language :: Python :: 3.8',
47-
'Programming Language :: Python :: 3.9',
48-
'Topic :: Scientific/Engineering',
49-
'Topic :: Software Development',
50-
'Topic :: System :: Distributed Computing',
51-
'Development Status :: 5 - Production/Stable',
45+
"Environment :: Console",
46+
"Intended Audience :: Developers",
47+
"Intended Audience :: Science/Research",
48+
"Intended Audience :: Education",
49+
"License :: OSI Approved :: Apache Software License",
50+
"Natural Language :: English",
51+
"Operating System :: POSIX :: Linux",
52+
"Programming Language :: Python :: 3.7",
53+
"Programming Language :: Python :: 3.8",
54+
"Programming Language :: Python :: 3.9",
55+
"Topic :: Scientific/Engineering",
56+
"Topic :: Software Development",
57+
"Topic :: System :: Distributed Computing",
58+
"Development Status :: 5 - Production/Stable",
59+
],
60+
install_requires=[
61+
"numpy>=1.13.3,<1.24.0",
62+
"scipy>=1.8.1",
63+
"jsonschema",
64+
"python-constraint",
65+
"xmltodict",
5266
],
53-
install_requires=['numpy>=1.13.3,<1.24.0', 'scipy>=1.8.1', 'jsonschema', 'python-constraint', 'xmltodict'],
5467
extras_require={
55-
'doc': ['sphinx', 'sphinx_rtd_theme', 'nbsphinx', 'pytest', 'ipython', 'markupsafe==2.0.1'],
56-
'cuda': ['pycuda', 'nvidia-ml-py', 'pynvml>=11.4.1'],
57-
'opencl': ['pyopencl'],
58-
'cuda_opencl': ['pycuda', 'pyopencl'],
59-
'tutorial': ['jupyter', 'matplotlib', 'pandas'],
60-
'dev': [
61-
'numpy>=1.13.3', 'scipy>=0.18.1', 'mock>=2.0.0', 'pytest>=3.0.3', 'Sphinx>=1.4.8', 'scikit-learn>=0.24.2', 'scikit-optimize>=0.8.1',
62-
'sphinx-rtd-theme>=0.1.9', 'nbsphinx>=0.2.13', 'jupyter>=1.0.0', 'matplotlib>=1.5.3', 'pandas>=0.19.1', 'pylint>=1.7.1',
63-
'bayesian-optimization>=1.0.1'
64-
]
68+
"doc": [
69+
"sphinx",
70+
"sphinx_rtd_theme",
71+
"nbsphinx",
72+
"pytest",
73+
"ipython",
74+
"markupsafe==2.0.1",
75+
],
76+
"cuda": ["pycuda", "nvidia-ml-py", "pynvml>=11.4.1"],
77+
"opencl": ["pyopencl"],
78+
"cuda_opencl": ["pycuda", "pyopencl"],
79+
"tutorial": ["jupyter", "matplotlib", "pandas"],
80+
"dev": [
81+
"numpy>=1.13.3",
82+
"scipy>=0.18.1",
83+
"mock>=2.0.0",
84+
"pytest>=3.0.3",
85+
"Sphinx>=1.4.8",
86+
"scikit-learn>=0.24.2",
87+
"scikit-optimize>=0.8.1",
88+
"sphinx-rtd-theme>=0.1.9",
89+
"nbsphinx>=0.2.13",
90+
"jupyter>=1.0.0",
91+
"matplotlib>=1.5.3",
92+
"pandas>=0.19.1",
93+
"pylint>=1.7.1",
94+
"bayesian-optimization>=1.0.1",
95+
],
6596
},
6697
)

0 commit comments

Comments
 (0)