Modified init scripts for inclusion in Fedora
[ovirt-node/TEMP.git] / nodeadmin / setup.py.in
blob17bfe93391700ce946ce4a62fae179c6681eb7e9
1 # setup.py - Copyright (C) 2009 Red Hat, Inc.
2 # Written by Darryl L. Pierce <dpierce@redhat.com>
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; version 2 of the License.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software
15 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
16 # MA 02110-1301, USA. A copy of the GNU General Public License is
17 # also available at http://www.gnu.org/copyleft/gpl.html.
19 from setuptools import setup, find_packages
21 setup(name = "nodeadmin",
22 version = "@VERSION@",
23 package_dir = {'nodeadmin': 'nodeadmin'},
24 packages = find_packages('.'),
25 entry_points = {
26 'console_scripts': [
27 'nodeadmin = nodeadmin.nodeadmin:NodeAdmin',
28 'addvm = nodeadmin.adddomain:AddDomain',
29 'startvm = nodeadmin.startdomain:StartDomain',
30 'stopvm = nodeadmin.stopdomain:StopDomain',
31 'rmvm = nodeadmin.removedomain:RemoveDomain',
32 'createuser = nodeadmin.createuser:CreateUser',
33 'listvms = nodeadmin.listdomains:ListDomains',
34 'definenet = nodeadmin.definenet:DefineNetwork',
35 'createnet = nodeadmin.createnetwork:CreateNetwork',
36 'destroynet = nodeadmin.destroynetwork:DestroyNetwork',
37 'undefinenet = nodeadmin.undefinenetwork:UndefineNetwork',
38 'listnets = nodeadmin.listnetworks:ListNetworks',
39 'addpool = nodeadmin.addpool:AddStoragePool',
40 'rmpool = nodeadmin.removepool:RemoveStoragePool',
41 'startpool = nodeadmin.startpool:StartStoragePool',
42 'stoppool = nodeadmin.stoppool:StopStoragePool',
43 'addvolume = nodeadmin.addvolume:AddStorageVolume',
44 'rmvolume = nodeadmin.removevolume:RemoveStorageVolume',
45 'listpools = nodeadmin.listpools:ListPools']