-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (36 loc) · 2.37 KB
/
setup.py
File metadata and controls
44 lines (36 loc) · 2.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#! /usr/bin/env python
# EditObj 2
# Copyright (C) 2001-2011 Jean-Baptiste LAMY -- jibalamy@free.fr
#
# 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; either version 2 of the License, or
# (at your option) any later version.
#
# 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, see <http://www.gnu.org/licenses/>.
import os, os.path, sys, glob
import distutils.core, distutils.sysconfig
install_dir = distutils.sysconfig.get_python_lib()
distutils.core.setup(name = "EditObj2",
version = "0.4",
license = "GPL",
description = "A Java-Bean-like dialog box generator for Python objects, compatible with Gtk 2, Tk, Qt and Qtopia",
long_description = """EditObj 2 is a dialog box generator for Python objects, using Gtk 2, Tk, Qt or Qtopia (at your choice). It behaves similarly to a Java Bean editor, but is devoted to Python, and it features several improvements. In particular, it can deal with tree structure of objects in a very efficient way.
Well... actually EditObj2 is more that just a dialog box generator. It is somehow a GUI per se... look at the examples directory to see its power :-)
EditObj2 is entirely written in Python.""",
author = "Lamy Jean-Baptiste",
author_email = "jibalamy@free.fr",
url = "http://home.gna.org/oomadness/en/editobj/index.html",
package_dir = {"editobj2" : ""},
packages = ["editobj2",
],
data_files = [(os.path.join(install_dir, "editobj2", "icons"),
[os.path.join("icons", file) for file in os.listdir("icons") if (file != "CVS") and (file != ".arch-ids") and (file != ".svn")]
)],
)