Commit graph

34 commits

Author SHA1 Message Date
jupfi
b00362aa16 remobe debug prints. 2024-02-09 11:06:56 +01:00
jupfi
0b37e4b861 Removed init method since this is done by the c++ method. 2024-02-09 11:05:35 +01:00
jupfi
4ee709a7ce Fixed memory leakage. Thanks Kumi (Howdy Pardner)!
Co-authored-by: Kumi <git@kumi.email>
2024-02-09 11:02:28 +01:00
jupfi
6f2a6dd594 Version with memory leakage 2024-02-09 09:44:54 +01:00
jupfi
62c8863a4e Added hdf reader, but there still seems to be a memory leakage bug. 2024-02-08 21:57:59 +01:00
jupfi
57d9274199 At least it's not crashing... run experiment is working (?) 2024-02-08 20:30:40 +01:00
jupfi
85ecf5f39d Implemented default LimeCfg through initialize function 2024-02-08 16:31:30 +01:00
jupfi
68f5b60e93 Merge branch 'main' of github.com:nqrduck/LimeDriverBindings 2024-02-08 16:22:43 +01:00
f47614763b
Update python-package.yml 2024-02-08 15:49:27 +01:00
e7dfa71ee3
Update python-package.yml 2024-02-08 15:46:22 +01:00
f7fe5ddf96
Update python-package.yml 2024-02-08 15:41:12 +01:00
6dc4448bac
Update python-package.yml 2024-02-08 15:37:48 +01:00
68c7539e4d
Update python-package.yml 2024-02-08 15:30:49 +01:00
31b95cf7b8
Update python-package.yml 2024-02-08 15:26:47 +01:00
3de2a45c8e
Update python-package.yml 2024-02-08 15:26:31 +01:00
6fd453ff8e
Update python-package.yml 2024-02-08 15:24:47 +01:00
e8056bcf3d
Update python-package.yml 2024-02-08 15:21:25 +01:00
a8d562c046
Enhance package build process
Updated .gitignore to exclude distribution directories, preventing accidental inclusion in the repository. Added MANIFEST.in to specify additional files for source distribution, ensuring that necessary Cython and C source files are packaged correctly.
2024-02-08 15:19:25 +01:00
4d2b00a30d
Update python-package.yml 2024-02-08 15:16:20 +01:00
7cff57d967
Update python-package.yml 2024-02-08 15:14:17 +01:00
338dc5667b
Update python-package.yml 2024-02-08 15:12:37 +01:00
1de0396cbf
Create python-package.yml 2024-02-08 15:09:28 +01:00
jupfi
1942b18d13 memory allocation for pointers and arrays 2024-02-08 15:06:47 +01:00
jupfi
08764a08ab Added complete LimeConfig_t struct 2024-02-08 15:04:45 +01:00
jupfi
f53ad866ff Implemented first pointer p_dur 2024-02-08 14:56:50 +01:00
jupfi
4d4161e878 Memory allocation for strings 2024-02-08 14:44:51 +01:00
1f24eb3f64
Enforce C++ compiler for Cython and fix Python binding
- Standardized the C++ compiler across build environments by setting it in `setup.py`, ensuring consistent compilation of Cython extensions.
- Transitioned to using `setuptools.build_meta` as the build backend in `pyproject.toml` for enhanced package build processes.
- Modified the extension module path in `setup.py` to align with the new Python binding structure.
- Introduced Python property decorators to `PyLimeConfig` class in `limedriver.pyx` for getter methods, enhancing the Pythonic interface of the Cython module.
- Facilitated direct import of the binding in `__init__.py`, streamlining the usage of the `limedriver` package.
2024-02-08 09:52:51 +01:00
4e279892aa
Current version of .pyx
Co-authored-by: jupfi <github@jupfi.me>
2024-02-08 09:14:18 +01:00
261ccac1a0
Extend .gitignore and update build setup for C++ integration
The .gitignore file now ignores C++ build artifacts alongside existing ones. In setup.py, the build configuration for 'limedriver' was modified to include a new C++ source file, indicating a shift to or expansion of C++ code usage within the project. This change prepares the build process to handle and compile C++ code, potentially for performance improvements or new functionality that leverages C++ capabilities.
2024-02-08 09:07:09 +01:00
fbf450e913
Update limedriver submodule to latest commit
The limedriver submodule has been updated to incorporate the latest enhancements and bug fixes, ensuring improved stability and performance for the dependent projects. This change aligns with ongoing efforts to maintain up-to-date dependencies and leverage recent improvements in external libraries.
2024-02-08 09:02:01 +01:00
9863cb7c25
Relax build system dependency versions
Removed the version restrictions for setuptools and Cython from the project build system configuration to increase compatibility with broader ranges of environments. This change aims to simplify setup and prevent potential conflicts with other packages that require different versions.
2024-02-07 18:20:36 +01:00
0465a51a46
Initial project config and implement build process
Enhanced the .gitignore to filter out additional build artifacts and Python cache files, promoting a cleaner repository state. Introduced a basic project structure with a new pyproject.toml, defining metadata and build requirements for the 'limedriver' Python package. Also added a LICENSE file and a custom setup.py which automates the retrieval and build of 'limedriver' submodules, streamlining the set-up for development and ensuring consistent builds across environments. These changes lay the groundwork for further development and distribution of the project.
2024-02-07 18:18:44 +01:00
jupfi
22737fbc68 Added limedriver as submodule. 2024-02-07 16:40:02 +01:00
jupfi
4f0be02c68 Initial commit. 2024-02-07 16:01:14 +01:00