Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f3e83794c9 | |||
| 73628cc6b0 | |||
| e077319a16 | |||
| 5b0ba9a25d | |||
| bd4e9bf9cf | |||
| b2974b4219 |
+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.14'
|
__version__ = '0.0.16'
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ def in_qmk_firmware():
|
|||||||
while len(cur_dir.parents) > 0:
|
while len(cur_dir.parents) > 0:
|
||||||
found_bin = cur_dir / 'bin' / 'qmk'
|
found_bin = cur_dir / 'bin' / 'qmk'
|
||||||
if found_bin.is_file():
|
if found_bin.is_file():
|
||||||
command = [found_bin, '--version']
|
command = [found_bin.as_posix(), '--version']
|
||||||
result = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
result = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
|
|
||||||
if result.returncode == 0:
|
if result.returncode == 0:
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Increment the verison number and release a new version of qmk_cli.
|
# Increment the verison number and release a new version of qmk_cli.
|
||||||
|
#
|
||||||
|
# Required packages: pip3 install bumpversion twine
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[bumpversion]
|
[bumpversion]
|
||||||
current_version = 0.0.14
|
current_version = 0.0.16
|
||||||
commit = True
|
commit = True
|
||||||
tag = True
|
tag = True
|
||||||
tag_name = {new_version}
|
tag_name = {new_version}
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ setup_cfg.read('setup.cfg')
|
|||||||
metadata = setup_cfg['metadata']
|
metadata = setup_cfg['metadata']
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
with open('README.md', encoding='utf-8') as readme_file:
|
||||||
|
long_description=readme_file.read()
|
||||||
setup(
|
setup(
|
||||||
name=metadata['dist-name'],
|
name=metadata['dist-name'],
|
||||||
description='A program to help users work with QMK Firmware.',
|
description='A program to help users work with QMK Firmware.',
|
||||||
@@ -19,7 +21,7 @@ if __name__ == "__main__":
|
|||||||
author_email=metadata['author-email'],
|
author_email=metadata['author-email'],
|
||||||
maintainer=metadata['author'],
|
maintainer=metadata['author'],
|
||||||
maintainer_email=metadata['author-email'],
|
maintainer_email=metadata['author-email'],
|
||||||
long_description=open('README.md').read(),
|
long_description=long_description,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
py_modules = ['milc'],
|
py_modules = ['milc'],
|
||||||
@@ -41,6 +43,7 @@ if __name__ == "__main__":
|
|||||||
#"milc", #FIXME(skullydazed): Included in the repo for now.
|
#"milc", #FIXME(skullydazed): Included in the repo for now.
|
||||||
"appdirs",
|
"appdirs",
|
||||||
"argcomplete",
|
"argcomplete",
|
||||||
"colorama"
|
"colorama",
|
||||||
|
"hjson"
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user