Skip to content

Commit

Permalink
v1.4.0 - cython module
Browse files Browse the repository at this point in the history
  • Loading branch information
fobos123deimos committed Sep 26, 2024
1 parent 525c09c commit 9a1cad6
Show file tree
Hide file tree
Showing 12 changed files with 745 additions and 437 deletions.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ mpmath==1.3.0
numba==0.59.1
numpy==1.26.4
scipy==1.13.0
sympy==1.12
sympy==1.12
cython==3.0.10
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = fast_wave
version = 1.3.11
version = 1.4.0
description = Package for the calculation of the time-independent wavefunction.
author = Matheus Gomes Cordeiro
author_email = matheusgomescord@gmail.com
Expand All @@ -17,6 +17,7 @@ numba==0.59.1
numpy==1.26.4
scipy==1.13.0
sympy==1.12
cython==3.0.10

[test_requires]
pytest = ^7.1.2
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
long_description = fh.read()

name = "fast_wave"
version = "1.3.11"
version = "1.4.0"
description = "Package for the calculation of the time-independent wavefunction."
author_email = "matheusgomescord@gmail.com"
url = "https://github.com/pikachu123deimos/fast-wave"
Expand All @@ -17,6 +17,7 @@
"numpy==1.26.4",
"scipy==1.13.0",
"sympy==1.12",
"cython==3.0.10",
]

test_requires = [
Expand Down
8 changes: 8 additions & 0 deletions src/fast_wave/setup_cython.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from setuptools import setup
from Cython.Build import cythonize
import numpy as np

setup(
ext_modules=cythonize("wavefunction_cython.pyx"),
include_dirs=[np.get_include()],
)
Loading

0 comments on commit 9a1cad6

Please sign in to comment.