Add dummy source code
This commit is contained in:
parent
74a59cb21b
commit
f35d0cc694
1
python/dummy.c
Normal file
1
python/dummy.c
Normal file
@ -0,0 +1 @@
|
|||||||
|
static void dummyFunc() {}
|
4
setup.py
4
setup.py
@ -21,7 +21,7 @@ class CMakeExtension(Extension):
|
|||||||
doesn't try to build your sources for you
|
doesn't try to build your sources for you
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, name, sources=[]):
|
def __init__(self, name, sources=["python/dummy.c"]):
|
||||||
|
|
||||||
super().__init__(name = name, sources = sources)
|
super().__init__(name = name, sources = sources)
|
||||||
|
|
||||||
@ -218,7 +218,7 @@ class BuildCMakeExt(build_ext):
|
|||||||
CosmoTool_extension = CMakeExtension(name="cosmotool")
|
CosmoTool_extension = CMakeExtension(name="cosmotool")
|
||||||
|
|
||||||
setup(name='cosmotool',
|
setup(name='cosmotool',
|
||||||
version='1.0.0a3',
|
version='1.0.0a4',
|
||||||
packages=["cosmotool"],
|
packages=["cosmotool"],
|
||||||
package_dir={'cosmotool': 'python/cosmotool'},
|
package_dir={'cosmotool': 'python/cosmotool'},
|
||||||
setup_requires=['cython','cffi','numexpr'],
|
setup_requires=['cython','cffi','numexpr'],
|
||||||
|
Loading…
Reference in New Issue
Block a user