🔨 add tests and docs for package validation. resolve #9

This commit is contained in:
chfw 2019-01-04 12:04:09 +00:00
parent 38f25dbd6b
commit ff205d34a8
8 changed files with 28 additions and 12 deletions

View File

@ -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"

View File

@ -1,6 +1,15 @@
Change log
================================================================================
-
--------------------------------------------------------------------------------
Updated
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#. `#9 <https://github.com/chfw/lml/issues/9>`_: include tests, docs for
OpenSuse package validation
0.0.5 - 06/11/2018
--------------------------------------------------------------------------------

View File

@ -1,3 +1,5 @@
include README.rst
include LICENSE
include CHANGELOG.rst
include tests/*.py
include docs/source/*

View File

@ -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:

View File

@ -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 ---------------------------------------------------

View File

@ -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: []

View File

@ -1,2 +1,2 @@
__version__ = "0.0.5"
__version__ = "0.0.8"
__author__ = "C.W."

View File

@ -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 = (