-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Arief Rahmansyah
committed
Mar 5, 2024
1 parent
650bc5e
commit ccc9fc8
Showing
3 changed files
with
26 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
VERSION = "0.40.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,10 +12,15 @@ | |
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
import imp | ||
import os | ||
|
||
from setuptools import find_packages, setup | ||
|
||
version = imp.load_source( | ||
"pyfuncserver.version", os.path.join("pyfuncserver", "version.py") | ||
).VERSION | ||
|
||
tests_require = [ | ||
"joblib>=0.13.0,<1.2.0", # >=1.2.0 upon upgrade of kserve's version | ||
"mypy", | ||
|
@@ -40,13 +45,13 @@ | |
merlin_sdk_package = "merlin-sdk" | ||
for index, item in enumerate(REQUIRE): | ||
if merlin_sdk_package in item: | ||
REQUIRE[ | ||
index | ||
] = f"{merlin_sdk_package} @ file://localhost/{merlin_path}#egg={merlin_sdk_package}" | ||
REQUIRE[index] = ( | ||
f"{merlin_sdk_package} @ file://localhost/{merlin_path}#egg={merlin_sdk_package}" | ||
) | ||
|
||
setup( | ||
name="pyfuncserver", | ||
version="0.6.0", | ||
version=version, | ||
author_email="[email protected]", | ||
description="Model Server implementation for mlflow pyfunc model", | ||
long_description=open("README.md").read(), | ||
|
@@ -56,4 +61,8 @@ | |
install_requires=REQUIRE, | ||
tests_require=tests_require, | ||
extras_require={"test": tests_require}, | ||
entry_points=""" | ||
[console_scripts] | ||
pyfuncserver=pyfuncserver.__main__:main | ||
""", | ||
) |