Skip to content

Commit

Permalink
Add a buildscript
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMino committed Mar 28, 2021
1 parent f6861ea commit 3107b24
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions __build__.py
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')

# 🧀

0 comments on commit 3107b24

Please sign in to comment.