Skip to content
This repository was archived by the owner on Nov 11, 2021. It is now read-only.
/ gtc Public archive

A stencil DSL toolchain written in Python.

License

Notifications You must be signed in to change notification settings

GridTools/gtc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8c9b4da · Nov 11, 2021

History

98 Commits
Dec 1, 2020
Apr 27, 2020
Aug 4, 2020
Sep 21, 2020
Oct 11, 2020
Nov 3, 2020
Dec 1, 2020
Jan 7, 2021
Jan 7, 2021
Apr 3, 2020
Oct 7, 2020
Sep 8, 2020
Aug 11, 2020
Oct 7, 2020
Feb 4, 2020
Nov 11, 2021
Apr 13, 2020
Nov 24, 2020
Nov 19, 2020
Dec 1, 2020
Apr 13, 2020
Dec 1, 2020

Repository files navigation

Gitpod Ready-to-Code

! Archived: the development that started in this repository was moved to the GridTools/gt4py repository !

Eve: A framework for implementing DSL toolchains in Python

Installation instructions

Eve contains a standard setup.py installation script which can be used to install the package with pip. The simplest way to start working with Eve is using the provided scripts in the scripts/ folder. The standard activate script will properly initialize the virtual environment if it does not exist yet:

git clone https://github.com/egparedes/eve.git
cd eve
source scripts/activate

If you know how to deal with virtual environments yourself, create first as usual a new environment for your project, and then clone the repository and install Eve (use editable mode if you plan to contribute to Eve):

# Create the virtual environment
python -m venv .eve.venv
source .eve.venv/bin/activate
pip install --upgrade pip setuptools wheel

# Clone the repository
git clone https://github.com/egparedes/eve.git

# Install the Python package directly from the local repository
# adding the '-e' flag to get an editable installation
pip install -e ./eve

# Finally, install the additional development tools
pip install -r ./eve/requirements_dev.txt

Development instructions

Tox, py.test and pre-commit (running several checks, including black formatter and flake8) are already configured and should run out of the box after installing the required development tools in requirements_dev.txt:

# Generate HTML documentation:
cd docs && make html

# Execute all the tests in the `tests` folder with py.test:
py.test -v ./tests

# Install pre-commit git hooks:
pre-commit install

# Or, alternatively, execute all pre-commit checks manually:
pre-commit run --all

Code editors supporting the Editorconfig standard should be automatically configured (settings in .editorconfig).

About

A stencil DSL toolchain written in Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published