Skip to content

Commit

Permalink
Remove conditional check for package_data definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
scttl authored and apark263 committed Oct 19, 2015
1 parent 2e197b0 commit df2b3c4
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@
except:
pass

gpuflag = os.system("nvcc --version > /dev/null 2>&1") == 0
if gpuflag:
package_data = {'neon': ['backends/kernels/sass/*.sass',
'backends/kernels/cubin/*.cubin',
'data/*.so']}
else:
package_data = {'neon': []}

if write_version:
txt = "# " + ("-" * 77) + "\n"
txt += "# Copyright 2015 Nervana Systems Inc.\n"
Expand Down Expand Up @@ -80,7 +72,9 @@
license='License :: OSI Approved :: Apache Software License',
scripts=['bin/neon', 'bin/nvis'],
packages=find_packages(exclude=["tests"]),
package_data=package_data,
package_data={'neon': ['backends/kernels/sass/*.sass',
'backends/kernels/cubin/*.cubin',
'data/*.so']},
classifiers=['Development Status :: 3 - Alpha',
'Environment :: Console',
'Environment :: Console :: Curses',
Expand Down

0 comments on commit df2b3c4

Please sign in to comment.