Coder Social home page Coder Social logo

fthaler / gtc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gridtools/gtc

0.0 0.0 0.0 7.89 MB

A stencil DSL toolchain written in Python.

License: GNU General Public License v3.0

Shell 0.29% Python 77.23% Dockerfile 0.36% CMake 2.11% C++ 19.52% Cuda 0.49%

gtc's Introduction

Gitpod Ready-to-Code

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).

gtc's People

Contributors

egparedes avatar havogt avatar tehrengruber avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.