aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-07-12 03:22:45 +0200
committerJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-07-12 03:22:45 +0200
commit0c31d92f2a90a5335fd14674c2deb0a91d5bab5d (patch)
tree9fcd7945eab52cba5954e0b4a16f84da2f31055e
parentREADME: ebuild added (diff)
downloadgs-elpa-0c31d92f2a90a5335fd14674c2deb0a91d5bab5d.tar.gz
gs-elpa-0c31d92f2a90a5335fd14674c2deb0a91d5bab5d.tar.bz2
gs-elpa-0c31d92f2a90a5335fd14674c2deb0a91d5bab5d.zip
cli: designed, implementation begun
-rw-r--r--g_elpa/backend.py7
-rw-r--r--setup.py2
2 files changed, 7 insertions, 2 deletions
diff --git a/g_elpa/backend.py b/g_elpa/backend.py
index 7d3aad3..545b7b6 100644
--- a/g_elpa/backend.py
+++ b/g_elpa/backend.py
@@ -12,5 +12,10 @@
"""
from g_sorcery.backend import Backend
+from g_sorcery.metadata import MetadataGenerator
-from g_elpa import ebuild
+from .elpa_db import ElpaDB
+from .ebuild import ElpaEbuildWithDigestGenerator, ElpaEbuildWithoutDigestGenerator
+
+instance = Backend(ElpaDB, ElpaEbuildWithDigestGenerator,
+ ElpaEbuildWithoutDigestGenerator, MetadataGenerator, sync_db=False)
diff --git a/setup.py b/setup.py
index a6ae713..66496fa 100644
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@ setup(name = 'g-sorcery',
author = 'Jauhien Piatlicki',
author_email = 'piatlicki@gmail.com',
packages = ['g_sorcery', 'g_elpa'],
- scripts = ['bin/g-sorcery'],
+ scripts = ['bin/g-sorcery', 'bin/g-elpa'],
data_files = [('/etc/g-sorcery/', ['g-elpa.json']),],
license = 'GPL',
)