Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9c6db3844f | |||
| fb372d11ec | |||
| f23614d245 | |||
| 427e6addda | |||
| 67698a52e0 |
+6
-1
@@ -1 +1,6 @@
|
|||||||
include *.md LICENSE
|
include *.md
|
||||||
|
include *.txt
|
||||||
|
include LICENSE
|
||||||
|
include qmk
|
||||||
|
include release
|
||||||
|
recursive-include qmk_cli *.py
|
||||||
|
|||||||
@@ -1,34 +0,0 @@
|
|||||||
[build-system]
|
|
||||||
requires = ["flit"]
|
|
||||||
build-backend = "flit.buildapi"
|
|
||||||
|
|
||||||
[tool.flit.metadata]
|
|
||||||
dist-name = "qmk"
|
|
||||||
module = "qmk_cli"
|
|
||||||
author = "skullydazed"
|
|
||||||
author-email = "skullydazed@gmail.com"
|
|
||||||
description-file = "README.md"
|
|
||||||
home-page = "https://github.com/qmk/qmk_cli"
|
|
||||||
classifiers = [
|
|
||||||
'Development Status :: 3 - Alpha',
|
|
||||||
'Environment :: Console',
|
|
||||||
'Intended Audience :: Developers',
|
|
||||||
'Intended Audience :: System Administrators',
|
|
||||||
'Intended Audience :: End Users/Desktop',
|
|
||||||
'License :: OSI Approved :: MIT License',
|
|
||||||
'Natural Language :: English',
|
|
||||||
'Programming Language :: Python :: 3 :: Only',
|
|
||||||
'Topic :: Scientific/Engineering',
|
|
||||||
'Topic :: Software Development',
|
|
||||||
'Topic :: Utilities',
|
|
||||||
]
|
|
||||||
requires-python = ">=3.5"
|
|
||||||
requires = [
|
|
||||||
#"milc", #FIXME(skullydazed): Included in the repo for now.
|
|
||||||
"argcomplete",
|
|
||||||
"colorama",
|
|
||||||
#"halo"
|
|
||||||
]
|
|
||||||
|
|
||||||
[tool.flit.scripts]
|
|
||||||
qmk = "qmk_cli.script_qmk:main"
|
|
||||||
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
"""A program to help you work with qmk_firmware."""
|
"""A program to help you work with qmk_firmware."""
|
||||||
|
|
||||||
__version__ = '0.0.5'
|
__version__ = '0.0.7'
|
||||||
|
|||||||
@@ -2,11 +2,6 @@
|
|||||||
|
|
||||||
Check up for QMK environment.
|
Check up for QMK environment.
|
||||||
"""
|
"""
|
||||||
import shutil
|
|
||||||
import platform
|
|
||||||
import os
|
|
||||||
from pathlib import Path
|
|
||||||
|
|
||||||
import qmk_cli.doctor
|
import qmk_cli.doctor
|
||||||
from qmk_cli.milc import cli
|
from qmk_cli.milc import cli
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,6 @@ def main(cli):
|
|||||||
if process.returncode == 0:
|
if process.returncode == 0:
|
||||||
setup_successful = True
|
setup_successful = True
|
||||||
|
|
||||||
|
|
||||||
# fin
|
# fin
|
||||||
if setup_successful:
|
if setup_successful:
|
||||||
cli.log.info('QMK setup complete!')
|
cli.log.info('QMK setup complete!')
|
||||||
|
|||||||
@@ -9,4 +9,10 @@ export FLIT_USERNAME
|
|||||||
|
|
||||||
bumpversion patch
|
bumpversion patch
|
||||||
git push origin master --tags
|
git push origin master --tags
|
||||||
flit publish
|
|
||||||
|
# For now we don't use flit
|
||||||
|
#flit publish
|
||||||
|
|
||||||
|
# Use setuptools until flit works with homebrew
|
||||||
|
python3 setup.py sdist bdist_wheel
|
||||||
|
twine upload dist/qmk-*
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[bumpversion]
|
[bumpversion]
|
||||||
current_version = 0.0.5
|
current_version = 0.0.7
|
||||||
commit = True
|
commit = True
|
||||||
tag = True
|
tag = True
|
||||||
tag_name = {new_version}
|
tag_name = {new_version}
|
||||||
@@ -12,8 +12,21 @@ message = New release: {current_version} → {new_version}
|
|||||||
[bdist_wheel]
|
[bdist_wheel]
|
||||||
universal = 1
|
universal = 1
|
||||||
|
|
||||||
|
[flake8]
|
||||||
|
ignore = E501,E226
|
||||||
|
|
||||||
[metadata]
|
[metadata]
|
||||||
|
author = skullydazed
|
||||||
|
author-email = skullydazed@gmail.com
|
||||||
|
description-file = README.md
|
||||||
|
dist-name = qmk
|
||||||
license_file = LICENSE
|
license_file = LICENSE
|
||||||
|
module = qmk_cli
|
||||||
|
home-page = https://github.com/qmk/qmk_cli
|
||||||
|
requires-python = >=3.5
|
||||||
|
|
||||||
|
[entry_points]
|
||||||
|
qmk = qmk_cli.script_qmk:main
|
||||||
|
|
||||||
[yapf]
|
[yapf]
|
||||||
align_closing_bracket_with_visual_indent = True
|
align_closing_bracket_with_visual_indent = True
|
||||||
|
|||||||
@@ -0,0 +1,45 @@
|
|||||||
|
from configparser import ConfigParser
|
||||||
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
|
setup_cfg = ConfigParser()
|
||||||
|
setup_cfg.read('setup.cfg')
|
||||||
|
metadata = setup_cfg['metadata']
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
setup(
|
||||||
|
name=metadata['dist-name'],
|
||||||
|
description=open(metadata['description-file']).read(),
|
||||||
|
entry_points={
|
||||||
|
'console_scripts': ['%s = %s' % l for l in setup_cfg['entry_points'].items()]
|
||||||
|
},
|
||||||
|
license='MIT License',
|
||||||
|
url=metadata['home-page'],
|
||||||
|
version=setup_cfg['bumpversion']['current_version'],
|
||||||
|
author=metadata['author'],
|
||||||
|
author_email=metadata['author-email'],
|
||||||
|
maintainer=metadata['author'],
|
||||||
|
maintainer_email=metadata['author-email'],
|
||||||
|
long_description=open('README.md').read(),
|
||||||
|
long_description_content_type="text/markdown",
|
||||||
|
packages=find_packages(),
|
||||||
|
classifiers=[
|
||||||
|
'Development Status :: 3 - Alpha',
|
||||||
|
'Environment :: Console',
|
||||||
|
'Intended Audience :: Developers',
|
||||||
|
'Intended Audience :: System Administrators',
|
||||||
|
'Intended Audience :: End Users/Desktop',
|
||||||
|
'License :: OSI Approved :: MIT License',
|
||||||
|
'Natural Language :: English',
|
||||||
|
'Programming Language :: Python :: 3 :: Only',
|
||||||
|
'Topic :: Scientific/Engineering',
|
||||||
|
'Topic :: Software Development',
|
||||||
|
'Topic :: Utilities',
|
||||||
|
],
|
||||||
|
requires_python=metadata['requires-python'],
|
||||||
|
install_requires=[
|
||||||
|
#"milc", #FIXME(skullydazed): Included in the repo for now.
|
||||||
|
"argcomplete",
|
||||||
|
"colorama",
|
||||||
|
#"halo"
|
||||||
|
],
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user