From ff205d34a8e961d5671cd96ffdcc5f2a7f230dc9 Mon Sep 17 00:00:00 2001 From: chfw Date: Fri, 4 Jan 2019 12:04:09 +0000 Subject: [PATCH] :hammer: add tests and docs for package validation. resolve #9 --- .moban.yml | 1 - CHANGELOG.rst | 9 +++++++++ MANIFEST.in | 2 ++ changelog.yml | 4 ++++ docs/source/conf.py | 4 ++-- lml.yml | 6 +++--- lml/_version.py | 2 +- setup.py | 12 +++++++----- 8 files changed, 28 insertions(+), 12 deletions(-) diff --git a/.moban.yml b/.moban.yml index a7baa4d..8ff5177 100644 --- a/.moban.yml +++ b/.moban.yml @@ -10,7 +10,6 @@ configuration: targets: - README.rst: CUSTOM_README.rst.jj2 - setup.py: custom_setup.py.jj2 - - MANIFEST.in: MANIFEST.in.jj2 - requirements.txt: requirements.txt.jj2 - "docs/source/conf.py": "docs/source/myconf.py.jj2" - "docs/source/index.rst": "docs/source/custom_index.rst.jj2" diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 8493832..1ce137e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,15 @@ Change log ================================================================================ + - +-------------------------------------------------------------------------------- + +Updated +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +#. `#9 `_: include tests, docs for + OpenSuse package validation + 0.0.5 - 06/11/2018 -------------------------------------------------------------------------------- diff --git a/MANIFEST.in b/MANIFEST.in index c2e4b1b..d916d74 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,5 @@ include README.rst include LICENSE include CHANGELOG.rst +include tests/*.py +include docs/source/* diff --git a/changelog.yml b/changelog.yml index 2b41253..3658e09 100644 --- a/changelog.yml +++ b/changelog.yml @@ -1,6 +1,10 @@ name: lml organisation: chfw releases: +- changes: + - action: Updated + details: + - "`#9`: include tests, docs for OpenSuse package validation" - changes: - action: Fixed details: diff --git a/docs/source/conf.py b/docs/source/conf.py index 0ec7a42..bfa946b 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -28,9 +28,9 @@ copyright = u'2017-2018 Onni Software Ltd.' author = u'C.W.' # The short X.Y version -version = u'0.0.5' +version = u'0.0.8' # The full version, including alpha/beta/rc tags -release = u'0.0.5' +release = u'0.0.8' # -- General configuration --------------------------------------------------- diff --git a/lml.yml b/lml.yml index 49373c6..4f8ba13 100644 --- a/lml.yml +++ b/lml.yml @@ -4,9 +4,9 @@ organisation: "chfw" author: "C.W." contact: "wangc_2011@hotmail.com" company: "Onni Software Ltd." -version: "0.0.5" -current_version: "0.0.5" -release: "0.0.5" +version: "0.0.8" +current_version: "0.0.8" +release: "0.0.8" copyright_year: 2017-2018 license: New BSD dependencies: [] diff --git a/lml/_version.py b/lml/_version.py index 21b9c1f..8ba051f 100644 --- a/lml/_version.py +++ b/lml/_version.py @@ -1,2 +1,2 @@ -__version__ = "0.0.5" +__version__ = "0.0.8" __author__ = "C.W." diff --git a/setup.py b/setup.py index 72f8f68..a545a50 100644 --- a/setup.py +++ b/setup.py @@ -5,20 +5,22 @@ import os import sys import codecs from shutil import rmtree -from setuptools import setup, find_packages, Command + +from setuptools import Command, setup, find_packages + PY2 = sys.version_info[0] == 2 PY26 = PY2 and sys.version_info[1] < 7 NAME = 'lml' AUTHOR = 'C.W.' -VERSION = '0.0.5' +VERSION = '0.0.8' EMAIL = 'wangc_2011@hotmail.com' LICENSE = 'New BSD' DESCRIPTION = ( 'Load me later. A lazy plugin management system.' ) URL = 'https://github.com/chfw/lml' -DOWNLOAD_URL = '%s/archive/0.0.5.tar.gz' % URL +DOWNLOAD_URL = '%s/archive/0.0.8.tar.gz' % URL FILES = ['README.rst', 'CHANGELOG.rst'] KEYWORDS = [ 'python', @@ -46,8 +48,8 @@ EXTRAS_REQUIRE = {} # You do not need to read beyond this line PUBLISH_COMMAND = '{0} setup.py sdist bdist_wheel upload -r pypi'.format( sys.executable) -GS_COMMAND = ('gs lml v0.0.5 ' + - "Find 0.0.5 in changelog for more details") +GS_COMMAND = ('gs lml v0.0.8 ' + + "Find 0.0.8 in changelog for more details") NO_GS_MESSAGE = ('Automatic github release is disabled. ' + 'Please install gease to enable it.') UPLOAD_FAILED_MSG = (