Skip to content

Provide project templates #32

@tristan0x

Description

@tristan0x

Requirements

The following Basalt project should be completed first.

Deliverables

2 project templates: one for pure Python projects and the other for C++/CMake

Pure Python project

  • Provide instructions to generate a Python project with pyscaffold.
  • Provide guidelines to create cython functions if necessary.

Use case

The main target is to create Python packages (source distribution or wheels)

References

Interesting work made by NSE team to build Python wheels (still work-in-progress)

C++ project

Create a cookiecutter project inspired by basalt.

Input parameters

Parameter Default Value
team name HPC
team_email [email protected]
project_slug foo
python_bindings y

Third parties

The 3rd parties libraries below should be ready to be used. single-header releases are bundled in the project, the other provided as git submodules:

  • hpc-coding-guidelines
  • From Tooling:
    • Catch2
    • CLI11
    • {fmt}
    • Google benchmark
    • spdlog
    • nlohmann/json
    • gsl-lite

Python bindings

If python_bindings is enabled, then the generated project would be enriched with pyscaffold goodness (tox.ini, setup.py, ...) and pybind11.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions