From d44afa0f1a19d5e71c5578eedefda2dccd6dc083 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Tue, 21 Oct 2008 19:46:07 -0600 Subject: Added a very basic setup.py using distutils --- setup.py | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100755 setup.py (limited to 'setup.py') diff --git a/setup.py b/setup.py new file mode 100755 index 00000000..feb4c965 --- /dev/null +++ b/setup.py @@ -0,0 +1,39 @@ +#!/usr/bin/python + +# Authors: Jason Gerard DeRose +# +# Copyright (C) 2008 Red Hat +# see file 'COPYING' for use and warranty information +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; version 2 only +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +""" +Python-level packaging using distutils. +""" + +from distutils.core import setup + +setup( + name='freeipa', + version='1.99.0', + license='GNU GPL 2', + packages=[ + 'ipalib', + 'ipalib.plugins', + 'ipa_server', + 'ipa_server.plugins', + 'ipa_webui', + ], + scripts=['ipa'], +) -- cgit From 367bb63a269d20ca15d3c4248b6742135c514d82 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Wed, 22 Oct 2008 15:52:32 -0600 Subject: Added MANIFEST.in; setup.py now includes kid templates in package_data --- setup.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index feb4c965..5ca41e48 100755 --- a/setup.py +++ b/setup.py @@ -1,6 +1,7 @@ #!/usr/bin/python -# Authors: Jason Gerard DeRose +# Authors: +# Jason Gerard DeRose # # Copyright (C) 2008 Red Hat # see file 'COPYING' for use and warranty information @@ -27,13 +28,16 @@ from distutils.core import setup setup( name='freeipa', version='1.99.0', - license='GNU GPL 2', + license='GPLv2+', + url='http://freeipa.org/', packages=[ 'ipalib', 'ipalib.plugins', 'ipa_server', 'ipa_server.plugins', 'ipa_webui', + 'ipa_webui.templates', ], + package_data={'ipa_webui.templates': ['*.kid']}, scripts=['ipa'], ) -- cgit From b9361edc3dbf652a729e5d09c2505fc8295b4292 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Wed, 22 Oct 2008 18:09:27 -0600 Subject: Fixed setup.py and MANIFEST.in so that templates/*.kid and static/ in ipa_webui are included --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 5ca41e48..b9e1454c 100755 --- a/setup.py +++ b/setup.py @@ -38,6 +38,9 @@ setup( 'ipa_webui', 'ipa_webui.templates', ], - package_data={'ipa_webui.templates': ['*.kid']}, + package_data={ + 'ipa_webui.templates': ['*.kid'], + 'ipa_webui': ['static/*'], + }, scripts=['ipa'], ) -- cgit From 6fe78a4944f11d430b724103f7d8d49c92af9b63 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Sun, 4 Jan 2009 18:39:39 -0700 Subject: Renamed all references to 'ipa_server' to 'ipaserver' --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index b9e1454c..ee12af7f 100755 --- a/setup.py +++ b/setup.py @@ -33,8 +33,8 @@ setup( packages=[ 'ipalib', 'ipalib.plugins', - 'ipa_server', - 'ipa_server.plugins', + 'ipaserver', + 'ipaserver.plugins', 'ipa_webui', 'ipa_webui.templates', ], -- cgit From 5c47261df596cc67410eb11db15bf0f8543e516f Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Sun, 4 Jan 2009 19:45:53 -0700 Subject: Renamed all references to 'ipa_webui' to 'ipawebui' --- setup.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index ee12af7f..ad903748 100755 --- a/setup.py +++ b/setup.py @@ -35,12 +35,12 @@ setup( 'ipalib.plugins', 'ipaserver', 'ipaserver.plugins', - 'ipa_webui', - 'ipa_webui.templates', + 'ipawebui', + 'ipawebui.templates', ], package_data={ - 'ipa_webui.templates': ['*.kid'], - 'ipa_webui': ['static/*'], + 'ipawebui.templates': ['*.kid'], + 'ipawebui': ['static/*'], }, scripts=['ipa'], ) -- cgit