Skip to content

Commit

Permalink
Use package_data configuration option
Browse files Browse the repository at this point in the history
Currently the uploaded tarball for benchcab v4.0.0 is missing the
site-packages/benchcab/data directory (see
https://anaconda.org/accessnri/benchcab/files). This change fixes this
by replacing the include_package_data option with the package_data
option in setup.cfg (see Data Files Support).

Conda package deployment was tested here in a forked repository and the
uploaded tarball contains the package data directory.

Fixes #267
  • Loading branch information
SeanBryan51 committed Mar 20, 2024
1 parent a124abd commit 0933e46
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ console_scripts =
[tool:pytest]
addopts = --doctest-modules --doctest-glob='*.rst' --ignore setup.py --ignore conftest.py --ignore docs/conf.py

[options]
include_package_data = True
[options.package_data]
benchcab =
data/*
data/test/*

[versioneer]
VCS = git
Expand Down

0 comments on commit 0933e46

Please sign in to comment.