Skip to content

Commit

Permalink
adapt to new structure for setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre committed May 21, 2024
1 parent 44350f6 commit 65c52f3
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
13 changes: 8 additions & 5 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@ include CONTRIBUTING.rst
include LICENSE
include Makefile
include README.rst
include pyproject.toml
include setup.cfg
include setup.py
include .zenodo.json

recursive-include xscen *.py *.yml
recursive-include xscen/CVs *.json
recursive-include xscen/data/fr *.yml *.csv
recursive-include xscen/data *.nc
recursive-include xscen/data/fr/LC_MESSAGES *.mo *.po
recursive-include src/xscen *.py *.yml
recursive-include src/xscen/CVs *.json
recursive-include src/xscen/data/fr *.yml *.csv
recursive-include src/xscen/data *.nc
recursive-include src/xscen/data/fr/LC_MESSAGES *.mo *.po
recursive-include tests *.py
recursive-include docs conf.py Makefile make.bat *.png *.rst *.yml
recursive-include docs/locales *.mo *.po
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ include-package-data = true
version = {attr = "xscen.__version__"}

[tool.setuptools.packages.find]
where = ["."]
where = ["src"]
include = ["xscen"]

# [tool.setuptools.packages.find]
Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ keywords = _ gettext ngettext
[init_catalog]
domain = xscen
input_file = xscen.pot
output_dir = xscen/data
output_dir = src/xscen/data

[update_catalog]
domain = xscen
input_file = xscen.pot
output_dir = xscen/data
output_dir = src/xscen/data

[compile_catalog]
domain = xscen
directory = xscen/data
directory = src/xscen/data
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ install_command = python -m pip install --no-user {opts} {packages}
commands_pre =
pip list
pip check
commands =
make translate
commands =
pytest {posargs}
coveralls: - coveralls
allowlist_externals =
Expand Down

0 comments on commit 65c52f3

Please sign in to comment.