Skip to content

Commit

Permalink
Move pyqcprot into ext dir, avoids cirular import
Browse files Browse the repository at this point in the history
  • Loading branch information
adw62 committed Sep 13, 2022
1 parent f9aeee9 commit dddd5b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
finally:
print (f'use_cython: {use_cython}')

ext_modules = [Extension("ties/pyqcprot", [f"ties/pyqcprot_ext/pyqcprot.{'pyx' if use_cython else 'c'}"],
ext_modules = [Extension("ties/pyqcprot_ext/pyqcprot", [f"ties/pyqcprot_ext/pyqcprot.{'pyx' if use_cython else 'c'}"],
include_dirs=[numpy_include],
extra_compile_args=["-O3","-ffast-math"])]

Expand Down
2 changes: 1 addition & 1 deletion ties/transformation.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import copy

import numpy
from ties.pyqcprot_ext import pyqcprot
from .pyqcprot_ext import pyqcprot


def test():
Expand Down

0 comments on commit dddd5b4

Please sign in to comment.