Compare commits

...

9 Commits

Author SHA1 Message Date
skullY fdc42051d5 New release: 0.0.9 → 0.0.10 2019-07-15 11:28:10 -07:00
skullY a4859aa15c Remove old dists before building 2019-07-15 11:28:00 -07:00
skullY 7ce14c0f74 New release: 0.0.8 → 0.0.9 2019-07-15 11:26:51 -07:00
skullY 94831732c6 Set the twine username 2019-07-15 11:26:43 -07:00
skullY 819cbea904 Remove the link from description. 2019-07-15 11:26:27 -07:00
skullY 65bcd35588 New release: 0.0.7 → 0.0.8 2019-07-15 11:23:04 -07:00
skullY ebe8db89d7 Fix description so markdown is rendered again 2019-07-15 11:22:58 -07:00
skullY 9c6db3844f New release: 0.0.6 → 0.0.7 2019-07-15 11:08:19 -07:00
skullY fb372d11ec rip out toml 2019-07-15 11:08:14 -07:00
6 changed files with 40 additions and 53 deletions
-1
View File
@@ -1,5 +1,4 @@
include *.md
include *.toml
include *.txt
include LICENSE
include qmk
-40
View File
@@ -1,40 +0,0 @@
#[build-system]
# Use setuptools for now until this PR is merged and available in homebrew:
#
# https://github.com/pypa/pip/pull/6606
#
# We still pull our build metadata from this file so we can easily go back to flit.
#
#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
View File
@@ -1,3 +1,3 @@
"""A program to help you work with qmk_firmware."""
__version__ = '0.0.6'
__version__ = '0.0.10'
+5 -2
View File
@@ -3,10 +3,13 @@
set -e
set -x
FLIT_USERNAME=${FLIT_USERNAME:=skully}
PYPI_USERNAME=${PYPI_USERNAME:=skully}
FLIT_USERNAME=$PYPI_USERNAME
TWINE_USERNAME=$PYPI_USERNAME
export FLIT_USERNAME
export FLIT_USERNAME TWINE_USERNAME
rm dist/*
bumpversion patch
git push origin master --tags
+11 -1
View File
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.0.6
current_version = 0.0.10
commit = True
tag = True
tag_name = {new_version}
@@ -16,7 +16,17 @@ universal = 1
ignore = E501,E226
[metadata]
author = skullydazed
author-email = skullydazed@gmail.com
description-file = README.md
dist-name = qmk
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]
align_closing_bracket_with_visual_indent = True
+23 -8
View File
@@ -1,19 +1,16 @@
from configparser import ConfigParser
from setuptools import setup, find_packages
import toml
setup_cfg = ConfigParser()
setup_cfg.read('setup.cfg')
pyproject = toml.load('pyproject.toml')
metadata = pyproject['tool']['flit']['metadata']
metadata = setup_cfg['metadata']
if __name__ == "__main__":
setup(
name=metadata['dist-name'],
description=open(metadata['description-file']).read(),
description='A program to help users work with QMK Firmware.',
entry_points={
'console_scripts': ['%s = %s' % l for l in pyproject['tool']['flit']['scripts'].items()]
'console_scripts': ['%s = %s' % l for l in setup_cfg['entry_points'].items()]
},
license='MIT License',
url=metadata['home-page'],
@@ -25,6 +22,24 @@ if __name__ == "__main__":
long_description=open('README.md').read(),
long_description_content_type="text/markdown",
packages=find_packages(),
classifiers=metadata['classifiers'],
install_requires=metadata['requires'],
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"
],
)