Skip to content

Commit

Permalink
MAINT: Ensure that libint and hdf5 licenses are only distributed in t…
Browse files Browse the repository at this point in the history
…he wheels

i.e. exclude them from source-only distributions
  • Loading branch information
BvB93 committed Apr 23, 2022
1 parent 50dc8e1 commit 047df97
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 4 deletions.
File renamed without changes.
3 changes: 0 additions & 3 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
exclude test/*
include *_requirements.txt

include licenses/*.txt
include licenses/*.rst

include nanoqm/py.typed
recursive-include nanoqm *.pyi
include nanoqm/basis/GTH_POTENTIALS
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion licenses/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Licenses for various third-party binaries distributed in the Nano-QMFlows wheels.

Note that no such files are present in source-only Nano-QMFlows distributions.
Note that aforementioned binaries are absent from source-only Nano-QMFlows distributions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ ignore_missing_imports = true
[tool.cibuildwheel]
build = "cp*-manylinux_x86_64"
build-verbosity = "3"
before-all = "cp licenses/LICENSE*.txt ."
repair-wheel-command = "auditwheel -v repair -w {dest_dir} {wheel}"
manylinux-x86_64-image = "ghcr.io/nlesc-nano/manylinux2014_x86_64-qmflows"
environment = { QMFLOWS_INCLUDEDIR="", QMFLOWS_LIBDIR="", CFLAGS="-Werror", LDFLAGS="-Wl,--strip-debug" }
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ def get_paths() -> "tuple[list[str], list[str]]":
version=version['__version__'],
description='Derivative coupling calculation',
license='Apache-2.0',
license_files=["LICENSE*.txt"],
url='https://github.com/SCM-NV/nano-qmflows',
author='Felipe Zapata & Ivan Infante',
author_email='[email protected]',
Expand Down

0 comments on commit 047df97

Please sign in to comment.