Skip to content

Commit

Permalink
Bumping version, fixing setup (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
devin-petersohn authored Oct 16, 2018
1 parent 584a0c5 commit 26833bb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
21 changes: 16 additions & 5 deletions modin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,21 @@ def _execute_cmd_in_temp_env(cmd):

cwd = os.getcwd()
os.chdir(os.path.dirname(os.path.abspath(__file__)))
try:
git_revision = _execute_cmd_in_temp_env(["git", "rev-parse", "HEAD"])
rev_string = git_revision.strip().decode()
except OSError:
# Check that this is a git repo first.
if (
subprocess.call(
["git", "-C", "./", "status"],
stderr=subprocess.STDOUT,
stdout=open(os.devnull, "w"),
)
== 0
):
try:
git_revision = _execute_cmd_in_temp_env(["git", "rev-parse", "HEAD"])
rev_string = git_revision.strip().decode()
except OSError:
rev_string = "Unknown"
else:
rev_string = "Unknown"
os.chdir(cwd)
return rev_string
Expand All @@ -41,7 +52,7 @@ def get_partition_format():


__git_revision__ = _git_version()
__version__ = "0.1.2"
__version__ = "0.2.0"
__execution_engine__ = get_execution_engine()
__partition_format__ = get_partition_format()

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@

setup(
name="modin",
version="0.1.2",
version="0.2.0",
description="Modin: Pandas on Ray - Make your pandas code run faster with "
"a single line of code change.",
packages=find_packages(),
url="https://github.com/modin-project/modin",
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=["pandas==0.23.4", "ray==0.5.3"])
install_requires=["pandas==0.23.4", "ray==0.5.3", "strip_hints", "typing"])

0 comments on commit 26833bb

Please sign in to comment.