Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel Boeckenhoff
tfields
Commits
9632c63c
Commit
9632c63c
authored
Aug 20, 2021
by
dboe
Browse files
Update template
parent
3a96a4f5
Changes
7
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
9632c63c
...
...
@@ -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/*
...
...
.pre-commit-config.yaml
View file @
9632c63c
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
:
v
3.1.0
rev
:
v
4.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
LICENSE.rst
View file @
9632c63c
MIT License
Copyright (c) 202
0
, Daniel Böckenhoff
Copyright (c) 202
1
, 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
...
...
docs/cookiecutter_input.json
View file @
9632c63c
...
...
@@ -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"
,
...
...
setup.cfg
View file @
9632c63c
[bumpversion]
current_version = 0.3.
2
current_version = 0.3.
7
tag = True
commit = True
message = release-v{new_version}
...
...
setup.py
View file @
9632c63c
from
setuptools
import
setup
setup
(
version
=
"0.3.
2
"
)
setup
(
version
=
"0.3.
7
"
)
tfields/__init__.py
View file @
9632c63c
...
...
@@ -2,4 +2,4 @@
__author__
=
"""Daniel Böckenhoff"""
__email__
=
"dboe@ipp.mpg.de"
__version__
=
"0.3.
2
"
__version__
=
"0.3.
7
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment