Skip to content

Commit

Permalink
Set version for develop branch according to PEP 440 (sql-machine-lear…
Browse files Browse the repository at this point in the history
…ning#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
  • Loading branch information
workingloong authored Jul 16, 2020
1 parent b36d66c commit e852189
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 20 deletions.
20 changes: 3 additions & 17 deletions elasticdl/docker/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,9 @@ COPY model_zoo /model_zoo
RUN python -m pip install --quiet -r /model_zoo/requirements.txt \
--extra-index-url=${EXTRA_PYPI_INDEX}

# Install elasticdl_preprocessing package
COPY build/elasticdl_preprocessing-develop-py3-none-any.whl /
RUN python -m pip install --quiet /elasticdl_preprocessing-develop-py3-none-any.whl \
--extra-index-url=${EXTRA_PYPI_INDEX} \
&& rm /elasticdl_preprocessing-develop-py3-none-any.whl

# Install elasticdl_client package
COPY build/elasticdl_client-develop-py3-none-any.whl /
RUN python -m pip install --quiet /elasticdl_client-develop-py3-none-any.whl \
--extra-index-url=${EXTRA_PYPI_INDEX} \
&& rm /elasticdl_client-develop-py3-none-any.whl

# Install elasticdl package
COPY build/elasticdl-develop-py3-none-any.whl /
RUN python -m pip install --quiet /elasticdl-develop-py3-none-any.whl \
--extra-index-url=${EXTRA_PYPI_INDEX} \
&& rm /elasticdl-develop-py3-none-any.whl
# Install ElasticDL packages
COPY build/*.whl /
RUN pip install /*.whl --extra-index-url=${EXTRA_PYPI_INDEX} && rm /*.whl

# Add elasticdl_ps to system path
RUN /bin/bash -c \
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

setup(
name="elasticdl",
version="develop",
version="0.2.0rc3.dev0",
description="A Kubernetes-native Deep Learning Framework",
long_description="ElasticDL is a Kubernetes-native deep learning framework"
" built on top of TensorFlow 2.0 that supports"
Expand Down
2 changes: 1 addition & 1 deletion setup_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

setup(
name="elasticdl_client",
version="develop",
version="0.2.0rc3.dev0",
description="The client command line tool for ElasticDL.",
long_description="ElasticDL Client is the client command line tool for"
" ElasticDL. Users can use it to submit distributed ElasticDL jobs to"
Expand Down
2 changes: 1 addition & 1 deletion setup_preprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

setup(
name="elasticdl_preprocessing",
version="develop",
version="0.2.0rc3.dev0",
description="A feature preprocessing library.",
long_description="This is an extension of the native Keras Preprocessing"
" Layers and Feature Column API from TensorFlow. We can develop our model"
Expand Down

0 comments on commit e852189

Please sign in to comment.