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 28
28
# Name of the release package
29
29
PACKAGE_NAME = "kubernetes"
30
30
31
+ # Stage of development, mainly used in setup.py's classifiers.
32
+ DEVELOPMENT_STATUS = "3 - Alpha"
33
+
34
+
31
35
# If called directly, return the constant value given
32
36
# its name. Useful in bash scripts.
33
37
if __name__ == '__main__' :
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ SCRIPT_ROOT=$(dirname "${BASH_SOURCE}")
30
30
CLIENT_ROOT=" ${SCRIPT_ROOT} /../kubernetes"
31
31
CLIENT_VERSION=$( python " ${SCRIPT_ROOT} /constants.py" CLIENT_VERSION)
32
32
PACKAGE_NAME=$( python " ${SCRIPT_ROOT} /constants.py" PACKAGE_NAME)
33
+ DEVELOPMENT_STATUS=$( python " ${SCRIPT_ROOT} /constants.py" DEVELOPMENT_STATUS)
33
34
34
35
pushd " ${SCRIPT_ROOT} " > /dev/null
35
36
SCRIPT_ROOT=` pwd`
@@ -59,4 +60,6 @@ rm "${CLIENT_ROOT}/LICENSE"
59
60
echo " --- updating version information..."
60
61
sed -i' ' " s/^CLIENT_VERSION = .*/CLIENT_VERSION = \\\" ${CLIENT_VERSION} \\\" /" " ${SCRIPT_ROOT} /../setup.py"
61
62
sed -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
+
62
65
echo " ---Done."
Original file line number Diff line number Diff line change 18
18
# by scripts/update-client.sh.
19
19
CLIENT_VERSION = "1.0.0-snapshot"
20
20
PACKAGE_NAME = "kubernetes"
21
+ DEVELOPMENT_STATUS = "snapshot"
21
22
22
23
# To install the library, run the following
23
24
#
53
54
Python client for kubernetes http://kubernetes.io/
54
55
""" ,
55
56
classifiers = [
56
- "Development Status :: 4 - Alpha" ,
57
+ "Development Status :: %s" % DEVELOPMENT_STATUS ,
57
58
"Environment :: Kubernetes" ,
58
59
"Topic :: Utilities" ,
59
60
"Intended Audience :: Developers" ,
You can’t perform that action at this time.
0 commit comments