Skip to content

Commit

Permalink
Updated CLI the pypi version.
Browse files Browse the repository at this point in the history
  • Loading branch information
CloudHero committed Apr 11, 2016
1 parent d3d2a23 commit 8291df7
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 549 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,6 @@ target/

#Ipython Notebook
.ipynb_checkpoints

# PyPI-related
MANIFEST
5 changes: 3 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include setup.cfg
include setup.py
include README.md
include requirements.txt
include LICENSE
graft hero
recursive-exclude hero *.pyc
graft lib
recursive-exclude lib *.pyc
14 changes: 8 additions & 6 deletions hero/hero.py → hero
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import shutil
import sys
Expand All @@ -8,12 +10,12 @@
from click.exceptions import ClickException
import requests

from constants import *
from interactive import interactive_shell
from pyhero import Client
from prompter import *
from utils import (write_to_file, set_keys_to_empty_values,
get_docker_ip_for_environment)
from lib.constants import *
from lib.interactive import interactive_shell
from lib.pyhero import Client
from lib.prompter import *
from lib.utils import (write_to_file, set_keys_to_empty_values,
get_docker_ip_for_environment)

CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help'])

Expand Down
Empty file removed hero/__init__.py
Empty file.
19 changes: 0 additions & 19 deletions hero/constants.py

This file was deleted.

98 changes: 0 additions & 98 deletions hero/interactive.py

This file was deleted.

31 changes: 0 additions & 31 deletions hero/prompter.py

This file was deleted.

Loading

0 comments on commit 8291df7

Please sign in to comment.