Skip to content

Commit

Permalink
hotfix python distribution missing packages
Browse files Browse the repository at this point in the history
  • Loading branch information
cheshirekow committed Aug 19, 2020
1 parent 0b2f636 commit 904c42d
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 9 deletions.
2 changes: 1 addition & 1 deletion cmakelang/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"""
from __future__ import unicode_literals

__version__ = "0.6.12.dev0"
__version__ = "0.6.13"
2 changes: 1 addition & 1 deletion cmakelang/doc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ add_custom_target(
--scratch-tree ${CMAKE_CURRENT_BINARY_DIR}/scratch-tree
--stage ${_stage}
--deploy-key "${_deploykey}"
--tag "${_src_version}"
--tag "v${_src_version}"
# cmake-format: on
DEPENDS clean-cmakelang-sphinx-stage ${_sphinx_manifest} ${_deploykey}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
Expand Down
5 changes: 5 additions & 0 deletions cmakelang/doc/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ Changelog
v0.6 series
-----------

v0.6.13
-------

* Fix subpackages missing from python distribution

v0.6.12
-------

Expand Down
6 changes: 3 additions & 3 deletions cmakelang/doc/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Installation
All of the tools are included as part of the ``cmakelang`` python
distribution package.

.. note:: Until verion 0.6.12 the software was distributed under the
.. note:: Until verion 0.6.13 the software was distributed under the
``cmake-format`` python package. As the project grew to include
multiple tools beyond the formatter, the name was changed to something
more appropriate. The ``cmake-format`` package will be maintained
Expand Down Expand Up @@ -58,7 +58,7 @@ Install from source
You can also install from source with pip. You can download a release package
from github__ or pypi__ and then install it directly with pip. For example::

pip install v0.6.12.tar.gz
pip install v0.6.13.tar.gz

.. __: https://github.com/cheshirekow/cmake_format/releases
.. __: https://pypi.org/project/cmake-format/#files
Expand Down Expand Up @@ -104,7 +104,7 @@ formatter, ``cmake-format``, to your hooks with the following addition to your
repos:
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.12
rev: v0.6.13
hooks:
- id: cmake-format
Expand Down
7 changes: 7 additions & 0 deletions cmakelang/doc/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ some high level notes and highlights from each release.
v0.6 series
===========

-------
v0.6.13
-------

This is a hotfix on v0.6.12. The python distribution package was missing some
modules.

-------
v0.6.12
-------
Expand Down
5 changes: 3 additions & 2 deletions cmakelang/pypi/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@
name="cmakelang",
packages=[
"cmakelang",
"cmakelang.command_tests",
"cmakelang.format",
"cmakelang.lex",
"cmakelang.lint",
"cmakelang.parse",
"cmakelang.parse.funs",
"cmakelang.lint",
],
version=VERSION,
description="Language tools for cmake (format, lint, etc)",
Expand Down
3 changes: 3 additions & 0 deletions cmakelang/tools/ensure_docker_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
def get_env(deploykey_path):
env = os.environ.copy()
if deploykey_path:
if not os.path.exists(deploykey_path):
raise RuntimeError(
"Supplied deploy key {} does not exist".format(deploykey_path))
env["GIT_SSH_COMMAND"] = (
"ssh -o IdentitiesOnly=yes -i {} -F /dev/null".format(deploykey_path))
return env
Expand Down
3 changes: 3 additions & 0 deletions cmakelang/tools/ensure_precommit_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
def get_env(deploykey_path):
env = os.environ.copy()
if deploykey_path:
if not os.path.exists(deploykey_path):
raise RuntimeError(
"Supplied deploy key {} does not exist".format(deploykey_path))
env["GIT_SSH_COMMAND"] = (
"ssh -o IdentitiesOnly=yes -i {} -F /dev/null".format(deploykey_path))
return env
Expand Down
2 changes: 1 addition & 1 deletion cmakelang/vscode_extension/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cmakelang/vscode_extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "cmake-format",
"displayName": "cmake-format",
"description": "Format listfiles so they don't look like crap",
"version": "0.6.12-dev0",
"version": "0.6.13",
"publisher": "cheshirekow",
"repository": "https://github.com/cheshirekow/cmakelang",
"icon": "images/cmake-format-logo.png",
Expand Down

0 comments on commit 904c42d

Please sign in to comment.