Commit 93493390 authored by dboe's avatar dboe
Browse files

merged

parents 00c774ae 2961c4db
Pipeline #78871 failed with stages
in 2 minutes and 19 seconds
......@@ -8,10 +8,6 @@ repos:
rev: 3.8.3
hooks:
- id: flake8
- repo: https://gitlab.com/dboe/dough
rev: v0.1.10
hooks:
- id: readthedocs_requirements
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.1.0
hooks:
......
......@@ -19,7 +19,6 @@ sphinx:
python:
version: 3.7
install:
- requirements: docs/requirements.txt
- method: pip
path: .
extra_requirements:
......
......@@ -47,7 +47,7 @@ untag:
requirements: setup.cfg
# We have all the information in the setup.cfg file. For some reasons (e.g. bug in setuptools or limitations to use setup.cfg in readthedocs) we still need a requirements file
python -c "import configparser; import os; config = configparser.ConfigParser(); config.read('setup.cfg'); deps = config['metadata']['install_requires'].split('\n'); deps = [x for x in deps if x]; head = '# Autogenerated by Makefile from setup.cfg install_requies section. Remove this line if you want to fix this file.'; path = 'requirements.txt'; f = open(path, 'r') if os.path.exists(path) else None; line = f.readline() if f else ''; quit('User defined requirements already existing.') if f and not line.startswith(head[:20]) else None; f = open('requirements.txt', 'w'); f.write('\n'.join([head] + deps))"
python -c "import configparser; import os; config = configparser.ConfigParser(); config.read('setup.cfg'); deps = config['options']['install_requires'].split('\n'); deps = [x for x in deps if x]; head = '# Autogenerated by Makefile from setup.cfg install_requies section. Remove this line if you want to fix this file.'; path = 'requirements.txt'; f = open(path, 'r') if os.path.exists(path) else None; line = f.readline() if f else ''; quit('User defined requirements already existing.') if f and not line.startswith(head[:20]) else None; f = open('requirements.txt', 'w'); f.write('\n'.join([head] + deps))"
doc: Makefile $(SOURCES) $(DOCUMENTATION) docs/conf.py docs/apidoc-template/*
# link apidoc to source and build html documentation with sphinx
......
{
"_template": "https://gitlab.com/dboe/dough.git",
"author": "Daniel B\u00f6ckenhoff",
"continuous_integration": "y",
"copyright_holder": "Daniel B\u00f6ckenhoff",
"copyright_license": "MIT License",
"data_science": "n",
"distribution_name": "tfields",
"email": "dboe@ipp.mpg.de",
"keywords": "tensors, tensor-fields, graphs, mesh, numpy, math",
"package_name": "tfields",
"package_version": "0.3.2",
"pypi_username": "dboe",
"remote_namespace": "dboe",
"remote_provider": "gitlab.mpcdf.mpg.de",
"remote_username": "dboe",
"summary": "Tensors, tensor fields, graphs, mesh manipulation, CAD and more on the basis of numpy.ndarrays. All objects keep track of their coordinate system. Symbolic math operations work for object manipulation."
"_template": "https://gitlab.com/dboe/dough.git",
"author": "Daniel B\u00f6ckenhoff",
"continuous_integration": "y",
"copyright_holder": "Daniel B\u00f6ckenhoff",
"copyright_license": "MIT License",
"data_science": "n",
"distribution_name": "tfields",
"email": "dboe@ipp.mpg.de",
"keywords": "tensors, tensor-fields, graphs, mesh, numpy, math",
"package_name": "tfields",
"package_version": "0.3.2",
"pypi_username": "dboe",
"remote_namespace": "dboe",
"remote_provider": "gitlab.mpcdf.mpg.de",
"remote_username": "dboe",
"summary": "Tensors, tensor fields, graphs, mesh manipulation, CAD and more on the basis of numpy.ndarrays. All objects keep track of their coordinate system. Symbolic math operations work for object manipulation."
}
......@@ -8,9 +8,16 @@ message = release-v{new_version}
search = __version__ = '{current_version}'
replace = {new_version}
[bumpversion:file:setup.py]
search = version='{current_version}'
replace = {new_version}
[bumpversion:file:docs/cookiecutter_input.json]
search = "package_version": "{current_version}"
replace = {new_version}
[metadata]
name = tfields
version = attr: tfields.__version__
url = https://gitlab.mpcdf.mpg.de/dboe/tfields
author = Daniel Böckenhoff
author_email = dboe@ipp.mpg.de
......@@ -29,9 +36,9 @@ description = Tensors, tensor fields, graphs, mesh manipulation, CAD and more on
long_description = file: README.rst, LICENSE.rst
long_description_content_type = text/x-rst
keywords = tensors, tensor-fields, graphs, mesh, numpy, math
project_urls =
Documentation = https://tfields.readthedocs.io
Source = https://gitlab.mpcdf.mpg.de/dboe/tfields
project_urls =
Documentation = https://tfields.readthedocs.io
Source = https://gitlab.mpcdf.mpg.de/dboe/tfields
[options]
python_requires = >=3.0
......@@ -125,7 +132,7 @@ python =
[testenv]
description = run test suite under {basepython}
deps =
{[metadata]install_requires}
{[options]install_requires}
{[options.extras_require]test}
extras = test
commands =
......
from setuptools import setup
setup()
setup(version='0.3.2')
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