Skip to content

Commit

Permalink
Install primer.json (used by black-primer by default) with black
Browse files Browse the repository at this point in the history
Fixes #2153
  • Loading branch information
hroncok committed Apr 27, 2021
1 parent 1728bb4 commit cc4d13a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions 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_
Expand Down
6 changes: 5 additions & 1 deletion setup.py
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 cc4d13a

Please sign in to comment.