Commit 9632c63c authored by dboe's avatar dboe
Browse files

Update template

parent 3a96a4f5
......@@ -14,6 +14,7 @@ cache:
paths:
- .cache/pip
- venv/
- .cache/apt
stages:
- build
......@@ -28,6 +29,10 @@ before_script:
dist:
stage: build
script:
- mkdir -p .cache/apt
- apt-get update -yqq
- apt-get install -y gfortran libopenblas-dev liblapack-dev
- apt-get -o dir::cache::archives=".cache/apt" install -y -qq gfortran liblapack-dev libgmp-dev
- python setup.py bdist_wheel
# an alternative approach is to install and run:
- pip install dist/*
......
default_language_version:
python: python3
repos:
- repo: https://github.com/ambv/black
rev: stable
rev: 21.6b0
hooks:
- id: black
language_version: python3.6
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.3
rev: 3.9.2
hooks:
- id: flake8
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.1.0
rev: v4.0.1
hooks:
- id: check-json
- id: pretty-format-json
......@@ -21,6 +22,6 @@ repos:
- id: detect-private-key
- id: end-of-file-fixer
- repo: https://github.com/asottile/blacken-docs
rev: v1.7.0
rev: v1.10.0
hooks:
- id: blacken-docs
MIT License
Copyright (c) 2020, Daniel Böckenhoff
Copyright (c) 2021, Daniel Böckenhoff
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
......
......@@ -9,7 +9,7 @@
"email": "dboe@ipp.mpg.de",
"keywords": "tensors, tensor-fields, graphs, mesh, numpy, math",
"package_name": "tfields",
"package_version": "0.3.2",
"package_version": "0.3.7",
"pypi_username": "dboe",
"remote_namespace": "dboe",
"remote_provider": "gitlab.mpcdf.mpg.de",
......
[bumpversion]
current_version = 0.3.2
current_version = 0.3.7
tag = True
commit = True
message = release-v{new_version}
......
from setuptools import setup
setup(version="0.3.2")
setup(version="0.3.7")
......@@ -2,4 +2,4 @@
__author__ = """Daniel Böckenhoff"""
__email__ = "dboe@ipp.mpg.de"
__version__ = "0.3.2"
__version__ = "0.3.7"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment