Skip to content

Commit

Permalink
Merge pull request #20 from jakirkham/drop_xtra_blank_lines
Browse files Browse the repository at this point in the history
Drop extra blank lines
  • Loading branch information
jakirkham committed Nov 24, 2018
2 parents 09402a1 + 7f9ba62 commit 7df02b7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
import versioneer





class PyTest(TestCommand):
description = "Run test suite with pytest"

Expand Down Expand Up @@ -74,14 +71,12 @@ def run_tests(self):
"__version__ = " + "\"" + str(version) + "\""
])


try:
i = sys.argv.index("test")
sys.argv = sys.argv[:i] + ["build_ext", "--inplace"] + sys.argv[i:]
except ValueError:
pass


include_dirs = [
os.path.dirname(get_python_inc()),
get_python_inc()
Expand All @@ -99,7 +94,6 @@ def run_tests(self):
cython_directives = {}
cython_line_directives = {}


if "test" in sys.argv:
cython_directives["binding"] = True
cython_directives["embedsignature"] = True
Expand All @@ -111,7 +105,6 @@ def run_tests(self):
("CYTHON_TRACE_NOGIL", 1),
]


ext_modules = [
Extension(
"cybuffer",
Expand All @@ -128,7 +121,6 @@ def run_tests(self):
em.cython_directives = dict(cython_directives)
em.cython_line_directives = dict(cython_line_directives)


setup(
name="cybuffer",
version=version,
Expand Down

0 comments on commit 7df02b7

Please sign in to comment.