Skip to content

Commit

Permalink
Install primer.json (used by black-primer by default) with black (#2154)
Browse files Browse the repository at this point in the history
Fixes #2153
  • Loading branch information
hroncok authored Apr 27, 2021
1 parent 82a5399 commit 76e1602
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## Change Log

### Unreleased

#### _Packaging_

- Install `primer.json` (used by `black-primer` by default) with black. (#2154)

### 21.4b1

#### _Black_
Expand Down
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,11 @@ def get_long_description() -> str:
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=[
Expand Down

0 comments on commit 76e1602

Please sign in to comment.