Skip to content

Commit 4d0134d

Browse files
committed
Modify setup.py to look for user contributed files in the 'user' folder.
1 parent 3967e6e commit 4d0134d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from distutils.core import setup
22
from distutils.extension import Extension
3-
from Cython.Distutils import build_ext
3+
# from Cython.Distutils import build_ext
44
from Cython.Build import cythonize
55
import numpy
66
import os
@@ -30,7 +30,8 @@
3030
MICRO_DIR = os.path.join(SRC_DIR, "micro", "lib")
3131
BARYAKHTAR_DIR = os.path.join(MICRO_DIR, "baryakhtar")
3232
DEMAG_DIR = os.path.join(SRC_DIR, "common", "dipolar")
33-
USER_DIR = os.path.join(SRC_DIR, "user_ext")
33+
USER_DIR = os.path.join(SRC_DIR, "user")
34+
print(USER_DIR)
3435

3536
LOCAL_DIR = os.path.join(MODULE_DIR, "local")
3637
INCLUDE_DIR = os.path.join(LOCAL_DIR, "include")
@@ -270,7 +271,6 @@ def glob_cfiles(path, excludes):
270271
extra_compile_args=com_args,
271272
extra_link_args=com_link,
272273
),
273-
274274
]
275275

276276
setup(

0 commit comments

Comments
 (0)