aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykyta Holubakha <hilobakho@gmail.com>2017-05-31 01:29:58 +0300
committerMykyta Holubakha <hilobakho@gmail.com>2017-05-31 01:29:58 +0300
commit3ac0572f352aaf234199fb7dfa91b7bbafd18fc7 (patch)
tree5e43a396f17fc5232a22d9d4c80d1a800ad10021
parentRefactoring (diff)
downloadpomu-3ac0572f352aaf234199fb7dfa91b7bbafd18fc7.tar.gz
pomu-3ac0572f352aaf234199fb7dfa91b7bbafd18fc7.tar.bz2
pomu-3ac0572f352aaf234199fb7dfa91b7bbafd18fc7.zip
Renamed pomu.py to cli.py
fix util import
-rw-r--r--pomu/cli.py (renamed from pomu/pomu.py)2
-rw-r--r--pomu/repo/init.py2
-rw-r--r--setup.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/pomu/pomu.py b/pomu/cli.py
index 98c0947..d36426b 100644
--- a/pomu/pomu.py
+++ b/pomu/cli.py
@@ -3,7 +3,7 @@ import click
from pomu.repo.init import init_plain_repo, init_portage_repo
from pomu.repo.repo import portage_repo_path, portage_repos, pomu_status
-from pomu.util import ResultException
+from pomu.util.result import ResultException
#TODO: global --repo option, (env var?)
diff --git a/pomu/repo/init.py b/pomu/repo/init.py
index b065a9a..67dc021 100644
--- a/pomu/repo/init.py
+++ b/pomu/repo/init.py
@@ -5,7 +5,7 @@ from git import Repo
from os import path, makedirs
import portage
-from pomu.util import Result, ResultException
+from pomu.util.result import Result, ResultException
def init_plain_repo(create, repo_path):
"""Initialize a plain repository"""
diff --git a/setup.py b/setup.py
index ad8a8f3..a4de1e1 100644
--- a/setup.py
+++ b/setup.py
@@ -12,6 +12,6 @@ setup(
#todo: properly depend on portage
install_requires=['Click', 'GitPython'],
entry_points={
- 'console_scripts':['pomu = pomu.pomu:main']
+ 'console_scripts':['pomu = pomu.cli:main']
}
)