Skip to content

Commit

Permalink
Drop Py2-supporting _pvt_struct module
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Nov 21, 2022
1 parent 1504e7a commit 11d7c04
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1,623 deletions.
7 changes: 1 addition & 6 deletions setup.py
Expand Up @@ -186,11 +186,6 @@ def main():

import sys

if sys.version_info >= (3,):
pvt_struct_source = "src/wrapper/_pvt_struct_v3.cpp"
else:
pvt_struct_source = "src/wrapper/_pvt_struct_v2.cpp"

setup(
name="pycuda",
# metadata
Expand Down Expand Up @@ -254,7 +249,7 @@ def main():
),
ExtensionUsingNumpy(
"_pvt_struct",
[pvt_struct_source],
["src/wrapper/_pvt_struct_v3.cpp"],
extra_compile_args=conf["CXXFLAGS"],
extra_link_args=conf["LDFLAGS"],
),
Expand Down

0 comments on commit 11d7c04

Please sign in to comment.