diff --git a/setup.cfg b/setup.cfg index c24ae3117..ad995876d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -20,6 +20,8 @@ project_urls = Logo = https://raw.githubusercontent.com/aiidalab/aiidalab-qe/master/miscellaneous/logos/QE.jpg [options] +package_dir = + = src packages = find: install_requires = aiida-core~=2.2,<3 @@ -32,6 +34,9 @@ install_requires = pydantic~=1.10,>=1.10.8 python_requires = >=3.8 +[options.packages.find] +where = src + [options.extras_require] dev = bumpver~=2023.1124 @@ -46,7 +51,8 @@ dev = selenium~=4.7.0 [options.package_data] -aiidalab_qe.parameters = qeapp.yaml +aiidalab_qe.app.parameters = qeapp.yaml +aiidalab_qe.app.static = * [aiidalab] title = Quantum ESPRESSO diff --git a/aiidalab_qe/__init__.py b/src/aiidalab_qe/__init__.py similarity index 100% rename from aiidalab_qe/__init__.py rename to src/aiidalab_qe/__init__.py diff --git a/aiidalab_qe/__main__.py b/src/aiidalab_qe/__main__.py similarity index 100% rename from aiidalab_qe/__main__.py rename to src/aiidalab_qe/__main__.py diff --git a/aiidalab_qe/app/__init__.py b/src/aiidalab_qe/app/__init__.py similarity index 100% rename from aiidalab_qe/app/__init__.py rename to src/aiidalab_qe/app/__init__.py diff --git a/aiidalab_qe/app/node_view.py b/src/aiidalab_qe/app/node_view.py similarity index 100% rename from aiidalab_qe/app/node_view.py rename to src/aiidalab_qe/app/node_view.py diff --git a/aiidalab_qe/app/parameters/__init__.py b/src/aiidalab_qe/app/parameters/__init__.py similarity index 100% rename from aiidalab_qe/app/parameters/__init__.py rename to src/aiidalab_qe/app/parameters/__init__.py diff --git a/aiidalab_qe/app/parameters/qeapp.yaml b/src/aiidalab_qe/app/parameters/qeapp.yaml similarity index 100% rename from aiidalab_qe/app/parameters/qeapp.yaml rename to src/aiidalab_qe/app/parameters/qeapp.yaml diff --git a/aiidalab_qe/app/process.py b/src/aiidalab_qe/app/process.py similarity index 100% rename from aiidalab_qe/app/process.py rename to src/aiidalab_qe/app/process.py diff --git a/aiidalab_qe/app/pseudos.py b/src/aiidalab_qe/app/pseudos.py similarity index 100% rename from aiidalab_qe/app/pseudos.py rename to src/aiidalab_qe/app/pseudos.py diff --git a/aiidalab_qe/app/report.py b/src/aiidalab_qe/app/report.py similarity index 100% rename from aiidalab_qe/app/report.py rename to src/aiidalab_qe/app/report.py diff --git a/aiidalab_qe/app/setup_codes.py b/src/aiidalab_qe/app/setup_codes.py similarity index 100% rename from aiidalab_qe/app/setup_codes.py rename to src/aiidalab_qe/app/setup_codes.py diff --git a/aiidalab_qe/app/sssp.py b/src/aiidalab_qe/app/sssp.py similarity index 100% rename from aiidalab_qe/app/sssp.py rename to src/aiidalab_qe/app/sssp.py diff --git a/aiidalab_qe/app/static/__init__.py b/src/aiidalab_qe/app/static/__init__.py similarity index 100% rename from aiidalab_qe/app/static/__init__.py rename to src/aiidalab_qe/app/static/__init__.py diff --git a/aiidalab_qe/app/static/style.css b/src/aiidalab_qe/app/static/style.css similarity index 100% rename from aiidalab_qe/app/static/style.css rename to src/aiidalab_qe/app/static/style.css diff --git a/aiidalab_qe/app/static/welcome.jinja b/src/aiidalab_qe/app/static/welcome.jinja similarity index 100% rename from aiidalab_qe/app/static/welcome.jinja rename to src/aiidalab_qe/app/static/welcome.jinja diff --git a/aiidalab_qe/app/static/workflow_failure.jinja b/src/aiidalab_qe/app/static/workflow_failure.jinja similarity index 100% rename from aiidalab_qe/app/static/workflow_failure.jinja rename to src/aiidalab_qe/app/static/workflow_failure.jinja diff --git a/aiidalab_qe/app/static/workflow_summary.jinja b/src/aiidalab_qe/app/static/workflow_summary.jinja similarity index 100% rename from aiidalab_qe/app/static/workflow_summary.jinja rename to src/aiidalab_qe/app/static/workflow_summary.jinja diff --git a/aiidalab_qe/app/steps.py b/src/aiidalab_qe/app/steps.py similarity index 100% rename from aiidalab_qe/app/steps.py rename to src/aiidalab_qe/app/steps.py diff --git a/aiidalab_qe/app/structures.py b/src/aiidalab_qe/app/structures.py similarity index 100% rename from aiidalab_qe/app/structures.py rename to src/aiidalab_qe/app/structures.py diff --git a/aiidalab_qe/app/widgets.py b/src/aiidalab_qe/app/widgets.py similarity index 100% rename from aiidalab_qe/app/widgets.py rename to src/aiidalab_qe/app/widgets.py diff --git a/aiidalab_qe/version.py b/src/aiidalab_qe/version.py similarity index 100% rename from aiidalab_qe/version.py rename to src/aiidalab_qe/version.py diff --git a/aiidalab_qe/workflows/__init__.py b/src/aiidalab_qe/workflows/__init__.py similarity index 100% rename from aiidalab_qe/workflows/__init__.py rename to src/aiidalab_qe/workflows/__init__.py