https://github.com/pocketpy/gsoc-2024-dev
GSoC'24 develop repository for pybind11 and numpy
https://github.com/pocketpy/gsoc-2024-dev
Last synced: 11 months ago
JSON representation
GSoC'24 develop repository for pybind11 and numpy
- Host: GitHub
- URL: https://github.com/pocketpy/gsoc-2024-dev
- Owner: pocketpy
- Created: 2024-02-26T16:22:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-04T11:16:31.000Z (almost 2 years ago)
- Last Synced: 2025-07-01T20:54:35.426Z (12 months ago)
- Language: C++
- Homepage: https://pocketpy.dev/gsoc/ideas/
- Size: 5.74 MB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gsoc-2024-dev
# Introduction
This is the repository for GSoC'24 projects. [Implement pybind11 for bindings](https://pocketpy.dev/gsoc/ideas/#implement-pybind11-for-bindings) and [Add numpy module](https://pocketpy.dev/gsoc/ideas/#add-numpy-module).
# File structure
### For the pybind11 project
+ Use `pybind11/` directory for development
+ Use `test_pybind11.cpp` for testing (without numpy)
+ Use `test_main.cpp` for testing (with numpy & CMake)
### For the numpy project
+ Use `numpy/` directory for development
+ Use `test_numpy.py` for testing, numpy module adopts only pure python test
+ Use `test_main.cpp` for testing. This file invokes `test_numpy.py`
If you need to alter files which are not owned by you, please ask your mentor first.
# Setup Instructions
Clone the repository:
```sh
git clone https://github.com/pocketpy/gsoc-2024-dev.git
```
Initialize and update the pocketpy sub-module with this command:
```sh
cd gsoc-2024-dev
git submodule update --init --recursive
```
# Build and test on Linux
```sh
cmake -B build
cmake --build build
build/gsoc2024
```