An open API service indexing awesome lists of open source software.

https://github.com/derthorsten/xtensor-python-cookiecutter-v2

A new version of a xtensor python cookiecutter
https://github.com/derthorsten/xtensor-python-cookiecutter-v2

Last synced: 11 months ago
JSON representation

A new version of a xtensor python cookiecutter

Awesome Lists containing this project

README

          

![cookicutter-logo](./cookiecutter.png)

[![Build Status](https://travis-ci.org/DerThorsten/xtensor-python-cookiecutter-v2.svg?branch=master)](https://travis-ci.org/DerThorsten/xtensor-python-cookiecutter-v2)
[![Build status](https://ci.appveyor.com/api/projects/status/hqaaw6wpwr86yv5v/branch/master?svg=true)](https://ci.appveyor.com/project/DerThorsten/xtensor-python-cookiecutter-v2/branch/master)

#### A [cookiecutter](https://github.com/audreyr/cookiecutter) template for creating a C++ packages with custom Python extension with xtensor

## What is xtensor-python-cookiecutter-v2?

THIS IS THIS WORK IN PROGRESS

`xtensor-python-cookiecutter-v2` helps extension authors create a C++ package and Python extension modules making use of xtensor.

It takes care of the initial work of generating a project skeleton with

- A complete `setup.py` compiling the extension module.
The `setup.py` script is calling CMake, CMake is the
actual build system.
- Automatic download of cpp dependencies:
- xtensor
- doctest
- pybind11
- xtensor-python

- Dependencies users needs to handle manually:
- cmake
- numpy

## Usage

Install [cookiecutter](https://github.com/audreyr/cookiecutter):

$ pip install cookiecutter

After installing cookiecutter, use the xtensor-python-cookiecutter-v2:

$ cookiecutter https://github.com/DerThorsten/xtensor-python-cookiecutter-v2.git

TODO