Skip to content
Snippets Groups Projects
Commit 8453e85e authored by Rahil Doshi's avatar Rahil Doshi
Browse files

Update project dependencies and requirements

parent 9d8ba7a6
Branches
No related tags found
No related merge requests found
Pipeline #74971 passed
...@@ -42,9 +42,7 @@ test = [ ...@@ -42,9 +42,7 @@ test = [
requires = [ requires = [
"setuptools>=69", "setuptools>=69",
"wheel", "wheel",
# "pybind11",
"ruamel.yaml>=0.15.70", "ruamel.yaml>=0.15.70",
#"PyYAML",
"pandas", "pandas",
"openpyxl>=3.1.5", "openpyxl>=3.1.5",
] ]
......
...@@ -4,12 +4,10 @@ pystencilssfg~=0.1a4+23.g71ba6dc ...@@ -4,12 +4,10 @@ pystencilssfg~=0.1a4+23.g71ba6dc
pymatlib~=0.1.0 pymatlib~=0.1.0
pytest~=8.3.4 pytest~=8.3.4
sympy~=1.12.1 sympy~=1.12.1
#pyyaml~=6.0.2
ruamel.yaml>=0.15.70 ruamel.yaml>=0.15.70
matplotlib~=3.10.0 matplotlib~=3.10.0
scipy~=1.15.1 scipy~=1.15.1
setuptools~=75.8.0 setuptools~=75.8.0
versioneer~=0.29 versioneer~=0.29
# pybind11~=2.14.0.dev1
pandas~=2.2.3 pandas~=2.2.3
openpyxl~=3.1.5 openpyxl~=3.1.5
from setuptools import setup, find_packages, Extension from setuptools import setup, find_packages
# import pybind11
# Define the extension module
'''ext_modules = [
Extension(
"pymatlib.core.cpp.fast_interpolation", # Module name in Python
[
"src/pymatlib/core/cpp/module.cpp",
"src/pymatlib/core/cpp/binary_search_interpolation.cpp",
"src/pymatlib/core/cpp/double_lookup_interpolation.cpp",
],
include_dirs=[pybind11.get_include(),
"src/pymatlib/core/cpp/include"],
extra_compile_args=['-O3', '-std=c++11'], # Enable high optimization and C++11
language='c++'
),
]'''
setup( setup(
name='pymatlib', name='pymatlib',
...@@ -44,7 +26,6 @@ setup( ...@@ -44,7 +26,6 @@ setup(
'sympy>=1.7.0', 'sympy>=1.7.0',
'pytest>=6.0.0', 'pytest>=6.0.0',
'pystencils@git+https://i10git.cs.fau.de/pycodegen/pystencils.git@v2.0-dev', 'pystencils@git+https://i10git.cs.fau.de/pycodegen/pystencils.git@v2.0-dev',
# 'pybind11>=2.6.0',
], ],
extras_require={ extras_require={
'dev': [ 'dev': [
...@@ -53,6 +34,5 @@ setup( ...@@ -53,6 +34,5 @@ setup(
'black', # For code formatting 'black', # For code formatting
], ],
}, },
# ext_modules=ext_modules,
include_package_data=True, # Include package data specified in MANIFEST.in include_package_data=True, # Include package data specified in MANIFEST.in
) )
...@@ -3,31 +3,9 @@ project(pymatlib_interpolators) ...@@ -3,31 +3,9 @@ project(pymatlib_interpolators)
# Find required packages # Find required packages
find_package(Python COMPONENTS Interpreter Development NumPy REQUIRED) find_package(Python COMPONENTS Interpreter Development NumPy REQUIRED)
# execute_process(
# COMMAND ${Python_EXECUTABLE} -m pybind11 --cmakedir
# OUTPUT_VARIABLE PYBIND11_CMAKE_DIR
# OUTPUT_STRIP_TRAILING_WHITESPACE
# )
# find_package(pybind11 PATHS ${PYBIND11_CMAKE_DIR} NO_DEFAULT_PATH REQUIRED)
# Create interface library for header-only template implementation # Create interface library for header-only template implementation
add_library(pymatlib_interpolators INTERFACE) add_library(pymatlib_interpolators INTERFACE)
target_include_directories(pymatlib_interpolators INTERFACE target_include_directories(pymatlib_interpolators INTERFACE
# ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/include ${CMAKE_CURRENT_SOURCE_DIR}/include
) )
# Add the Pybind11 module
# pybind11_add_module(fast_interpolation
# module.cpp
# )
# target_include_directories(fast_interpolation PRIVATE
# ${CMAKE_CURRENT_SOURCE_DIR}/include
# )
# target_compile_features(fast_interpolation PRIVATE cxx_std_11)
# target_compile_options(fast_interpolation PRIVATE -O3)
# target_link_libraries(fast_interpolation PRIVATE
# interpolation_template
# pybind11::module
# Python::NumPy
# )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment