-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
from wheelfile import WheelFile, __version__ | ||
from pathlib import Path | ||
|
||
spec = { | ||
'distname': 'wheelfile', | ||
'version': __version__ | ||
} | ||
|
||
requirements = [ | ||
'packaging ~= 20.8' | ||
] | ||
|
||
with WheelFile(mode='w', **spec) as wf: | ||
wf.metadata.requires_dists = requirements | ||
wf.metadata.requires_python = '>=3.6' | ||
|
||
wf.metadata.summary = "API for inspecting and creating .whl files" | ||
wf.metadata.description = Path('./README.md').read_text() | ||
wf.metadata.description_content_type = 'text/markdown' | ||
|
||
wf.metadata.keywords = 'wheel packages packaging pip build distutils' | ||
wf.metadata.classifiers = [ | ||
'Development Status :: 2 - Pre-Alpha', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: MIT License', | ||
'Topic :: Software Development :: Build Tools', | ||
'Topic :: Software Development :: Libraries', | ||
'Topic :: System :: Archiving :: Packaging', | ||
'Topic :: System :: Software Distribution', | ||
'Topic :: Utilities', | ||
] | ||
|
||
wf.metadata.author = "Błażej Michalik" | ||
wf.metadata.home_page = 'https://github.com/MrMino/wheelfile' | ||
|
||
wf.write('./wheelfile.py') | ||
|
||
# 🧀 |