From: Miro HronĨok Date: Tue, 27 Apr 2021 15:58:39 +0000 (+0200) Subject: Install primer.json (used by black-primer by default) with black (#2154) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/76e1602d60391cca1bb3b21a9ef6ed07a1bca17d?ds=sidebyside Install primer.json (used by black-primer by default) with black (#2154) Fixes https://github.com/psf/black/issues/2153 --- diff --git a/CHANGES.md b/CHANGES.md index d114c51..37b5da6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,11 @@ ## Change Log +### Unreleased + +#### _Packaging_ + +- Install `primer.json` (used by `black-primer` by default) with black. (#2154) + ### 21.4b1 #### _Black_ diff --git a/setup.py b/setup.py index 0928c63..f1792a4 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,11 @@ setup( ext_modules=ext_modules, packages=["blackd", "black", "blib2to3", "blib2to3.pgen2", "black_primer"], package_dir={"": "src"}, - package_data={"blib2to3": ["*.txt"], "black": ["py.typed"]}, + package_data={ + "blib2to3": ["*.txt"], + "black": ["py.typed"], + "black_primer": ["primer.json"], + }, python_requires=">=3.6.2", zip_safe=False, install_requires=[