diff --git a/.gitignore b/.gitignore index c0461ec..aa471ab 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ pip-log.txt *.wpr .pypirc rdatasets/_version.py +.eggs diff --git a/MANIFEST.in b/MANIFEST.in index 3dec71f..f297c3f 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -10,8 +10,10 @@ exclude .gitignore exclude .gitmodules exclude .pre-commit-config.yaml exclude .flake8 -recursive-exclude */__pycache__ +recursive-exclude * __pycache__ recursive-exclude * *.py[co] prune rdatasets_orig/ +prune .github +prune examples exclude convertCSVtoPickle.py exclude convertHTMLtoPickle.py diff --git a/pyproject.toml b/pyproject.toml index 27a1899..aadc95a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,11 +3,10 @@ requires = ["setuptools >=61", "setuptools_scm[toml]>=6.2"] build-backend = "setuptools.build_meta" -[tool.setuptools] -include-package-data = true - [tool.setuptools.packages.find] where = ["rdatasets"] +include = ["_data"] +namespaces = false [tool.setuptools.package-data] "*" = ["*.compress", "*.pickle"]