Skip to content
Snippets Groups Projects
Commit 9632c63c authored by dboe's avatar dboe
Browse files

Update template

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