Skip to content

Commit c8372fc

Browse files
committed
Use default license-files in flit init
1 parent 8d5ec8c commit c8372fc

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

flit/init.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,6 @@ def initialise(self):
224224
f.write(tomli_w.dumps({'readme': readme}))
225225
if license != 'skip':
226226
f.write(tomli_w.dumps({'license': license_names_to_spdx[license]}))
227-
f.write(f"license-files = {json.dumps(['LICENSE'])}\n")
228227
f.write('dynamic = ["version", "description"]\n')
229228
if home_page:
230229
f.write("\n" + tomli_w.dumps({

tests/test_init.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ def test_init():
114114
assert data['project']['authors'][0]['email'] == "test@example.com"
115115
license = Path(td) / 'LICENSE'
116116
assert data['project']['license'] == 'MIT'
117-
assert data['project']['license-files'] == ['LICENSE']
118117
assert_isfile(license)
119118
with license.open() as f:
120119
license_text = f.read()

0 commit comments

Comments
 (0)