Skip to content

Commit b47a9b6

Browse files
Rename the console entry of elasticdl_client package to elasticdl (#2099)
* Rename the script entry of elasticdl_client to elasticdl * Remove the dependency between main package and elasticdl_client package.
1 parent cfbeb96 commit b47a9b6

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

setup.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,4 @@
5252
"go/pkg/kernel/capi/*",
5353
]
5454
},
55-
entry_points={
56-
"console_scripts": ["elasticdl=elasticdl.python.elasticdl.client:main"]
57-
},
5855
)

setup_client.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,5 @@
2626
python_requires=">=3.5",
2727
packages=find_packages(include=["elasticdl_client*"]),
2828
package_data={"": ["requirements.txt"]},
29-
# TODO(brightcoder01): Use `elasticdl_client` as the binary name
30-
# temporarily. After we move all the functinality from main package
31-
# to elasticdl_client package, we will rename the binary name to
32-
# `elasticdl` and then remove the entry_points in main package.
33-
entry_points={
34-
"console_scripts": ["elasticdl_client=elasticdl_client.main:main"]
35-
},
29+
entry_points={"console_scripts": ["elasticdl=elasticdl_client.main:main"]},
3630
)

0 commit comments

Comments
 (0)