Skip to content

Commit e852189

Browse files
authored
Set version for develop branch according to PEP 440 (sql-machine-learning#2188)
* Set version for develop branch according to PEP 440 * Fix version of wheel packages * Add elasticdl_ps to system path * Modify version * Remove white spaces * Reformat dockefile
1 parent b36d66c commit e852189

File tree

4 files changed

+6
-20
lines changed

4 files changed

+6
-20
lines changed

elasticdl/docker/Dockerfile.ci

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,9 @@ COPY model_zoo /model_zoo
1212
RUN python -m pip install --quiet -r /model_zoo/requirements.txt \
1313
--extra-index-url=${EXTRA_PYPI_INDEX}
1414

15-
# Install elasticdl_preprocessing package
16-
COPY build/elasticdl_preprocessing-develop-py3-none-any.whl /
17-
RUN python -m pip install --quiet /elasticdl_preprocessing-develop-py3-none-any.whl \
18-
--extra-index-url=${EXTRA_PYPI_INDEX} \
19-
&& rm /elasticdl_preprocessing-develop-py3-none-any.whl
20-
21-
# Install elasticdl_client package
22-
COPY build/elasticdl_client-develop-py3-none-any.whl /
23-
RUN python -m pip install --quiet /elasticdl_client-develop-py3-none-any.whl \
24-
--extra-index-url=${EXTRA_PYPI_INDEX} \
25-
&& rm /elasticdl_client-develop-py3-none-any.whl
26-
27-
# Install elasticdl package
28-
COPY build/elasticdl-develop-py3-none-any.whl /
29-
RUN python -m pip install --quiet /elasticdl-develop-py3-none-any.whl \
30-
--extra-index-url=${EXTRA_PYPI_INDEX} \
31-
&& rm /elasticdl-develop-py3-none-any.whl
15+
# Install ElasticDL packages
16+
COPY build/*.whl /
17+
RUN pip install /*.whl --extra-index-url=${EXTRA_PYPI_INDEX} && rm /*.whl
3218

3319
# Add elasticdl_ps to system path
3420
RUN /bin/bash -c \

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
setup(
2626
name="elasticdl",
27-
version="develop",
27+
version="0.2.0rc3.dev0",
2828
description="A Kubernetes-native Deep Learning Framework",
2929
long_description="ElasticDL is a Kubernetes-native deep learning framework"
3030
" built on top of TensorFlow 2.0 that supports"

setup_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
setup(
2020
name="elasticdl_client",
21-
version="develop",
21+
version="0.2.0rc3.dev0",
2222
description="The client command line tool for ElasticDL.",
2323
long_description="ElasticDL Client is the client command line tool for"
2424
" ElasticDL. Users can use it to submit distributed ElasticDL jobs to"

setup_preprocessing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
setup(
2424
name="elasticdl_preprocessing",
25-
version="develop",
25+
version="0.2.0rc3.dev0",
2626
description="A feature preprocessing library.",
2727
long_description="This is an extension of the native Keras Preprocessing"
2828
" Layers and Feature Column API from TensorFlow. We can develop our model"

0 commit comments

Comments
 (0)