Commit 12887945 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed missing phonopy in build.

parent ee3e4e87
Pipeline #72642 failed with stages
in 8 minutes and 34 seconds
recursive-include dependencies/optimade-python-tools *.txt *.g *.py *.ini recursive-include dependencies/optimade-python-tools *.txt *.g *.py *.ini
recursive-include nomad *.json *.j2 *.md *.yaml recursive-include nomad *.json *.j2 *.md *.yaml
include README.md include README.md
include LICENSE.txt
include requirements.txt include requirements.txt
include auto_complete_install.sh include auto_complete_install.sh
include setup.json include setup.json
\ No newline at end of file
...@@ -184,6 +184,14 @@ def compile_dependency_setup_kwargs(paths, **kwargs): ...@@ -184,6 +184,14 @@ def compile_dependency_setup_kwargs(paths, **kwargs):
local_install_requires.add(require) local_install_requires.add(require)
all_install_requires[name] = local_install_requires all_install_requires[name] = local_install_requires
# automatically add parser deps
for _, setup_data in results.items():
if 'parsers' in setup_data['meta']['setup.py']:
parsing = kwargs.setdefault('extras_require', {}).setdefault('parsing', [])
for require in setup_data['kwargs'].get('install_requires', []):
if require not in parsing:
parsing.append(require)
def replace_own_packages(requires): def replace_own_packages(requires):
''' replaces nomad dependencies with their requirements ''' ''' replaces nomad dependencies with their requirements '''
for other in all_names: for other in all_names:
......
Supports Markdown
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