diff options
| author | Bob Halley <halley@dnspython.org> | 2022-03-15 08:37:20 -0700 |
|---|---|---|
| committer | Bob Halley <halley@dnspython.org> | 2022-03-15 08:37:20 -0700 |
| commit | b1d2332687adbecc0acbb4e623124f783f859d9e (patch) | |
| tree | 5318d5ecc0dd35e0a6922380cd60f9d9caa9ad34 /setup.py | |
| parent | 08f8bde64e8679d5e4f0b129292461de152ba32b (diff) | |
| download | dnspython-b1d2332687adbecc0acbb4e623124f783f859d9e.tar.gz | |
black autoformatting
Diffstat (limited to 'setup.py')
| -rwxr-xr-x | setup.py | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -22,18 +22,20 @@ from setuptools import setup try: - sys.argv.remove("--cython-compile") + sys.argv.remove("--cython-compile") except ValueError: - compile_cython = False + compile_cython = False else: compile_cython = True from Cython.Build import cythonize - ext_modules = cythonize(['dns/*.py', 'dns/rdtypes/*.py', 'dns/rdtypes/*/*.py'], - language_level='3') + + ext_modules = cythonize( + ["dns/*.py", "dns/rdtypes/*.py", "dns/rdtypes/*/*.py"], language_level="3" + ) kwargs = { - 'ext_modules': ext_modules if compile_cython else None, - 'zip_safe': False if compile_cython else None, - } + "ext_modules": ext_modules if compile_cython else None, + "zip_safe": False if compile_cython else None, +} setup(**kwargs) |
