diff --git a/MANIFEST.in b/MANIFEST.in index fca15025..75611f22 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -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 diff --git a/pyproject.toml b/pyproject.toml index d6611fd2..a647269a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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] diff --git a/setup.cfg b/setup.cfg index 41eb2465..34d9e7ba 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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 diff --git a/tox.ini b/tox.ini index c75ba49b..92725e0d 100644 --- a/tox.ini +++ b/tox.ini @@ -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 =