From aa020eee0c3da4170a895e0e5ef0a41433c2cae9 Mon Sep 17 00:00:00 2001 From: Mario Fink Date: Thu, 2 Sep 2021 11:56:06 +0200 Subject: [PATCH] * add pip/build to gitignore * makefile for pip: extract proper section of README.md * bump version 1.2.11 --- .gitignore | 1 + cython/setup.py | 2 +- pip/makefile | 4 ++-- pip/setup.py | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 3f93576..7b52ab7 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ pip/README.md pip/LICENSE pip/*egg-info pip/dist/ +pip/build/ diff --git a/cython/setup.py b/cython/setup.py index 557bf9d..a8b8996 100644 --- a/cython/setup.py +++ b/cython/setup.py @@ -37,7 +37,7 @@ extensions = Extension( setup( name='imc_termite', - version='1.2.10', + version='1.2.11', description='IMCtermite cython extension', author='Record Evolution GmbH', author_email='mario.fink@record-evolution.de', diff --git a/pip/makefile b/pip/makefile index b24f4bf..2d8a320 100644 --- a/pip/makefile +++ b/pip/makefile @@ -8,13 +8,13 @@ publish-binary: bdist upload prepdist: ../cython/py_imc_termite.pyx ../cython/imc_termite.pxd ../cython/py_imc_termite.cpp cp -v $? ./ cp -v $(shell ls ../lib/imc_*.hpp) ./ - tail -n 212 ../README.md > ./README.md + cat ../README.md | grep '^# IMCtermite' -A 50000 > ./README.md cp -v ../LICENSE ./ sdist: prepdist python3 setup.py sdist -# TODO use manylinux wheel to avoid ERROR "unsupported platform tag 'linux_x86_64'" +# TODO use manylinux wheel to avoid ERROR "unsupported platform tag 'linux_x86_64'" # see: - https://github.com/pypa/manylinux bdist: prepdist python3 setup.py bdist_wheel diff --git a/pip/setup.py b/pip/setup.py index 0bc8795..51ca664 100644 --- a/pip/setup.py +++ b/pip/setup.py @@ -18,7 +18,7 @@ with open("README.md", "r", encoding="utf-8") as fh: setup( name="IMCtermite", - version="1.2.10", + version="1.2.11", author="Record Evolution GmbH", author_email="mario.fink@record-evolution.de", maintainer="Record Evolution GmbH",