fix: add missing files for compilation

This commit is contained in:
Guilhem Lavaux 2024-11-07 13:56:43 +02:00
parent 31bb742903
commit 1a7195d4f4
4 changed files with 7643 additions and 1 deletions

1
MANIFEST.in Normal file
View File

@ -0,0 +1 @@
include ext_src/*

7618
ext_src/_cosmomath.cpp Normal file

File diff suppressed because it is too large Load Diff

23
ext_src/algo.hpp Normal file
View File

@ -0,0 +1,23 @@
#ifndef __COSMOTOOL_ALGO_HPP
#define __COSMOTOOL_ALGO_HPP
namespace CosmoTool
{
template<typename T>
T cube(T a)
{
return a*a*a;
}
template<typename T>
T square(T a)
{
return a*a;
}
}
#endif

View File

@ -17,7 +17,7 @@ classifiers = [
[project.urls] [project.urls]
Homepage = "https://github.com/guilhem_lavaux/glmath" Homepage = "https://github.com/guilhem_lavaux/glmath"
Issues = "https:///github.com/guilhem_lavaux/glmath/issues" Issues = "https://github.com/guilhem_lavaux/glmath/issues"
[build-system] [build-system]
requires = ["setuptools >= 61.0", "numpy", "wheel", "Cython", "python-semantic-release"] requires = ["setuptools >= 61.0", "numpy", "wheel", "Cython", "python-semantic-release"]