Commit 1bcaed21 authored by Julien Muchembled's avatar Julien Muchembled

setup.py: fix installed scripts and neoclient data

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2752 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 6f9c11bb
...@@ -92,7 +92,7 @@ setup( ...@@ -92,7 +92,7 @@ setup(
py_modules = ['neo.scripts.neomigrate'], py_modules = ['neo.scripts.neomigrate'],
entry_points = { entry_points = {
'console_scripts': [ 'console_scripts': [
'neoadmin=neo.scripts.neomigrate:main', 'neomigrate=neo.scripts.neomigrate:main',
], ],
}, },
package_data = { package_data = {
...@@ -100,17 +100,17 @@ setup( ...@@ -100,17 +100,17 @@ setup(
'component.xml', 'component.xml',
], ],
}, },
zip_safe=False, extra_files = ['neo/client/component.xml'], # required for Python < 2.7
) )
setup( setup(
name = 'neoctl', name = 'neoctl',
description = description + ' - Controller part', description = description + ' - Controller part',
packages = ['neo', ('neo.neoctl', 'neo/neoctl')], packages = ['neo', ('neo.neoctl', 'neo/neoctl')],
py_modules = ['neo.scripts.neomigrate'], py_modules = ['neo.scripts.neoctl'],
entry_points = { entry_points = {
'console_scripts': [ 'console_scripts': [
'neoctl=neo.scripts.neomigrate:main', 'neoctl=neo.scripts.neoctl:main',
], ],
}, },
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment