Skip to content

Commit

Permalink
Merge pull request #369 from SCM-NV/license
Browse files Browse the repository at this point in the history
MAINT: Ensure that libint and hdf5 licenses are only distributed in the wheels
  • Loading branch information
BvB93 authored Apr 24, 2022
2 parents 19c421a + 047df97 commit c7d89b1
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 6 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
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,14 @@ 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]',
keywords='chemistry Photochemistry Simulation',
long_description=readme() + '\n\n',
long_description_content_type='text/x-rst',
packages=find_packages(),
packages=find_packages(exclude=["test"]),
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
Expand All @@ -198,7 +199,6 @@ def get_paths() -> "tuple[list[str], list[str]]":
'test': parse_requirements("test_requirements.txt"),
'doc': parse_requirements("doc_requirements.txt"),
},
include_package_data=True,
package_data={
'nanoqm': ['basis/*.json', 'basis/BASIS*', 'basis/GTH_POTENTIALS', 'py.typed', '*.pyi']
},
Expand Down

0 comments on commit c7d89b1

Please sign in to comment.