Skip to content

Commit 681b85d

Browse files
committed
stylling and linting fixes to setup.py
1 parent f96dadb commit 681b85d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

setup.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#/usr/bin/env python
1+
#!/usr/bin/env python
22
import codecs
33
import os
44
from setuptools import setup, find_packages
@@ -7,7 +7,7 @@
77

88
# Workaround for multiprocessing/nose issue. See http://bugs.python.org/msg170215
99
try:
10-
import multiprocessing
10+
import multiprocessing # NOQA
1111
except ImportError:
1212
pass
1313

@@ -19,13 +19,15 @@
1919

2020
read = lambda filepath: codecs.open(filepath, 'r', 'utf-8').read()
2121

22+
2223
def exec_file(filepath, globalz=None, localz=None):
2324
exec(read(filepath), globalz, localz)
2425

26+
2527
# Load package meta from the pkgmeta module without loading imagekit.
2628
pkgmeta = {}
2729
exec_file(os.path.join(os.path.dirname(__file__),
28-
'imagekit', 'pkgmeta.py'), pkgmeta)
30+
'imagekit', 'pkgmeta.py'), pkgmeta)
2931

3032

3133
setup(

0 commit comments

Comments
 (0)