Skip to content

Commit

Permalink
Move files to src layout
Browse files Browse the repository at this point in the history
Using src layout to organize modules (https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout/)
This change make it directly detect the package_data import issue of "qeapp.yml" (manifest #255) and css/jinja files in static module.

bumpver
  • Loading branch information
unkcpz committed Aug 17, 2023
1 parent 823a6fb commit d740fbf
Show file tree
Hide file tree
Showing 22 changed files with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -69,7 +75,7 @@ tag = True
push = True

[bumpver:file_patterns]
aiidalab_qe/version.py =
src/aiidalab_qe/version.py =
__version__ = "{version}"
setup.cfg =
current_version = "{version}"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d740fbf

Please sign in to comment.