Skip to content

Commit

Permalink
update extension source string interpolation in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Michał Jaworski committed Apr 17, 2018
1 parent 8c2f0ab commit 3df17b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def get_version(version_tuple):


def extension_sources(path):
sources = [path + ('.pyx' if USE_CYTHON else '.cpp')]
sources = ["{0}{1}".format(path, '.pyx' if USE_CYTHON else '.cpp')]

if not USE_CYTHON:
# note: Cython will pick these files automatically but when building
Expand Down

0 comments on commit 3df17b5

Please sign in to comment.