Skip to content

Commit

Permalink
I broke the pip package during rebase (ucbrise#174)
Browse files Browse the repository at this point in the history
* fixed broken pip package

* added curdir back in

* fixed var referenced before assignment issue
  • Loading branch information
dcrankshaw committed May 22, 2017
1 parent bb49084 commit c4a68e7
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def check_solvability_write_deps(env_path, directory, platform,
pip_deps = dependencies

# Check for conflicts and existence of packages
missing_packages = None
try:
try:
# This call doesn't install anything; it checks the solvability of package dependencies.
Expand All @@ -99,7 +100,7 @@ def check_solvability_write_deps(env_path, directory, platform,
print(unsat_e)
return False

if missing_packages:
if missing_packages is not None:
print(
"The following packages in your conda environment aren't available in the linux-64 conda channel the container will use:"
)
Expand Down
3 changes: 1 addition & 2 deletions clipper_admin/clipper_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@
from sklearn.externals import joblib
from cStringIO import StringIO
import sys
cur_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, os.path.abspath('%s../../containers/python/' % cur_dir))
from pywrencloudpickle import CloudPickler
import time
cur_dir = os.path.dirname(os.path.abspath(__file__))

MODEL_REPO = "/tmp/clipper-models"
DOCKER_NW = "clipper_nw"
Expand Down
17 changes: 0 additions & 17 deletions management/README.md

This file was deleted.

Empty file removed management/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name='clipper_admin',
version='0.1',
version='0.1.1',
description='Admin commands for the Clipper prediction-serving system',
author='Dan Crankshaw',
author_email='[email protected]',
Expand Down

0 comments on commit c4a68e7

Please sign in to comment.