Skip to content

Commit 3107b24

Browse files
committed
Add a buildscript
1 parent f6861ea commit 3107b24

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

__build__.py

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
from wheelfile import WheelFile, __version__
2+
from pathlib import Path
3+
4+
spec = {
5+
'distname': 'wheelfile',
6+
'version': __version__
7+
}
8+
9+
requirements = [
10+
'packaging ~= 20.8'
11+
]
12+
13+
with WheelFile(mode='w', **spec) as wf:
14+
wf.metadata.requires_dists = requirements
15+
wf.metadata.requires_python = '>=3.6'
16+
17+
wf.metadata.summary = "API for inspecting and creating .whl files"
18+
wf.metadata.description = Path('./README.md').read_text()
19+
wf.metadata.description_content_type = 'text/markdown'
20+
21+
wf.metadata.keywords = 'wheel packages packaging pip build distutils'
22+
wf.metadata.classifiers = [
23+
'Development Status :: 2 - Pre-Alpha',
24+
'Intended Audience :: Developers',
25+
'License :: OSI Approved :: MIT License',
26+
'Topic :: Software Development :: Build Tools',
27+
'Topic :: Software Development :: Libraries',
28+
'Topic :: System :: Archiving :: Packaging',
29+
'Topic :: System :: Software Distribution',
30+
'Topic :: Utilities',
31+
]
32+
33+
wf.metadata.author = "Błażej Michalik"
34+
wf.metadata.home_page = 'https://github.com/MrMino/wheelfile'
35+
36+
wf.write('./wheelfile.py')
37+
38+
# 🧀

0 commit comments

Comments
 (0)