aboutsummaryrefslogtreecommitdiffstats
path: root/python_moonclient/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'python_moonclient/setup.py')
-rw-r--r--python_moonclient/setup.py25
1 files changed, 15 insertions, 10 deletions
diff --git a/python_moonclient/setup.py b/python_moonclient/setup.py
index dcb90365..847f62e7 100644
--- a/python_moonclient/setup.py
+++ b/python_moonclient/setup.py
@@ -5,6 +5,7 @@
from setuptools import setup, find_packages
import python_moonclient
+import python_moonclient.core
with open('requirements.txt') as f:
required = f.read().splitlines()
@@ -42,17 +43,21 @@ setup(
entry_points={
'console_scripts': [
- 'moon_get_keystone_projects = python_moonclient.scripts:get_keystone_projects',
- 'moon_get_pdp = python_moonclient.scripts:get_pdp',
- 'moon_create_pdp = python_moonclient.scripts:create_pdp',
- 'moon_delete_pdp = python_moonclient.scripts:delete_pdp',
- 'moon_delete_policy = python_moonclient.scripts:delete_policy',
- 'moon_map_pdp_to_project = python_moonclient.scripts:map_pdp_to_project',
- 'moon_send_authz_to_wrapper = python_moonclient.scripts:send_authz_to_wrapper',
- 'moon_get_slaves = python_moonclient.scripts:get_slaves',
- 'moon_set_slave = python_moonclient.scripts:set_slave',
- 'moon_delete_slave = python_moonclient.scripts:delete_slave'
+ 'moon = python_moonclient.moon:main'
],
+ 'moon': [
+ 'pdp_list = python_moonclient.cli.pdps:Pdps',
+ 'pdp_create = python_moonclient.cli.pdps:CreatePdp',
+ 'pdp_delete = python_moonclient.cli.pdps:DeletePdp',
+ 'pdp_map = python_moonclient.cli.pdps:MapPdp',
+ 'policy_list = python_moonclient.cli.policies:Policies',
+ 'policy_delete = python_moonclient.cli.policies:DeletePolicy',
+ 'project_list = python_moonclient.cli.projects:Projects',
+ 'slave_list = python_moonclient.cli.slaves:Slaves',
+ 'slave_set = python_moonclient.cli.slaves:SetSlave',
+ 'slave_delete = python_moonclient.cli.slaves:DeleteSlave',
+ 'authz_send = python_moonclient.cli.authz:SendAuthz'
+ ],
}
)