forked from feathr-ai/feathr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unify Python SDK Build Version and decouple Feathr Maven Version (fea…
…thr-ai#746) * unify python package version and enable env setting for scala version Signed-off-by: Yuqing Wei <[email protected]> * update docs and decouple maven version Signed-off-by: Yuqing Wei <[email protected]> * change version back to 0.8.0 to avoid conflicts Signed-off-by: Yuqing Wei <[email protected]> * fix typo Signed-off-by: Yuqing Wei <[email protected]> Signed-off-by: Yuqing Wei <[email protected]>
- Loading branch information
1 parent
b8e3b27
commit fa10e72
Showing
5 changed files
with
24 additions
and
10 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
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.8.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 |
---|---|---|
@@ -1,13 +1,25 @@ | ||
import sys | ||
import os | ||
from setuptools import setup, find_packages | ||
from pathlib import Path | ||
|
||
# Use the README.md from /docs | ||
root_path = Path(__file__).resolve().parent.parent | ||
long_description = (root_path / "docs/README.md").read_text(encoding="utf8") | ||
|
||
try: | ||
exec(open("feathr/version.py").read()) | ||
except IOError: | ||
print("Failed to load Feathr version file for packaging.", | ||
file=sys.stderr) | ||
sys.exit(-1) | ||
|
||
VERSION = __version__ # noqa | ||
os.environ["FEATHR_VERSION"] = VERSION | ||
|
||
setup( | ||
name='feathr', | ||
version='0.8.2', | ||
version=VERSION, | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
author_email="[email protected]", | ||
|