File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 2828# Name of the release package
2929PACKAGE_NAME = "kubernetes"
3030
31+ # Stage of development, mainly used in setup.py's classifiers.
32+ DEVELOPMENT_STATUS = "3 - Alpha"
33+
34+
3135# If called directly, return the constant value given
3236# its name. Useful in bash scripts.
3337if __name__ == '__main__' :
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ SCRIPT_ROOT=$(dirname "${BASH_SOURCE}")
3030CLIENT_ROOT=" ${SCRIPT_ROOT} /../kubernetes"
3131CLIENT_VERSION=$( python " ${SCRIPT_ROOT} /constants.py" CLIENT_VERSION)
3232PACKAGE_NAME=$( python " ${SCRIPT_ROOT} /constants.py" PACKAGE_NAME)
33+ DEVELOPMENT_STATUS=$( python " ${SCRIPT_ROOT} /constants.py" DEVELOPMENT_STATUS)
3334
3435pushd " ${SCRIPT_ROOT} " > /dev/null
3536SCRIPT_ROOT=` pwd`
@@ -59,4 +60,6 @@ rm "${CLIENT_ROOT}/LICENSE"
5960echo " --- updating version information..."
6061sed -i' ' " s/^CLIENT_VERSION = .*/CLIENT_VERSION = \\\" ${CLIENT_VERSION} \\\" /" " ${SCRIPT_ROOT} /../setup.py"
6162sed -i' ' " s/^PACKAGE_NAME = .*/PACKAGE_NAME = \\\" ${PACKAGE_NAME} \\\" /" " ${SCRIPT_ROOT} /../setup.py"
63+ sed -i' ' " s/^DEVELOPMENT_STATUS = .*/DEVELOPMENT_STATUS = \\\" ${DEVELOPMENT_STATUS} \\\" /" " ${SCRIPT_ROOT} /../setup.py"
64+
6265echo " ---Done."
Original file line number Diff line number Diff line change 1818# by scripts/update-client.sh.
1919CLIENT_VERSION = "1.0.0-snapshot"
2020PACKAGE_NAME = "kubernetes"
21+ DEVELOPMENT_STATUS = "snapshot"
2122
2223# To install the library, run the following
2324#
5354 Python client for kubernetes http://kubernetes.io/
5455 """ ,
5556 classifiers = [
56- "Development Status :: 4 - Alpha" ,
57+ "Development Status :: %s" % DEVELOPMENT_STATUS ,
5758 "Environment :: Kubernetes" ,
5859 "Topic :: Utilities" ,
5960 "Intended Audience :: Developers" ,
You can’t perform that action at this time.
0 commit comments