-
Notifications
You must be signed in to change notification settings - Fork 25
/
setup.py
78 lines (70 loc) · 2.93 KB
/
setup.py
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#!/usr/bin/env python
# By R.Suzi [email protected]
# Extended and expanded by Andy Todd <[email protected]>
# Simplified & adapted for gui2py by Mariano Reingart <[email protected]>
"""
This script is setup.py of the gui2py package.
You need to have wxPython to run gui2py
"""
WIN_DEFAULT_COMMAND = "install"
APPLICATION_NAME = "gui2py"
from distutils.core import setup
import setuptools
import os, sys
# get the package version (add py3k if needed)
import gui
version = gui.__version__
# append install on windows
if len(sys.argv) == 1 and sys.platform.startswith("win"):
sys.argv.append(WIN_DEFAULT_COMMAND)
setup(name=APPLICATION_NAME,
version=version,
description="gui2py framework",
author="Mariano Reingart",
author_email="[email protected]",
url='https://github.com/reingart/gui2py',
download_url="https://github.com/reingart/gui2py/archive/master.zip",
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: MacOS X",
"Environment :: MacOS X :: Carbon",
"Environment :: MacOS X :: Cocoa",
"Environment :: Win32 (MS Windows)",
"Environment :: X11 Applications :: GTK",
#"Framework :: web2py",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Information Technology",
"Intended Audience :: Other Audience",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.1",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Topic :: Software Development",
"Topic :: Software Development :: User Interfaces",
],
long_description = \
"gui2py is a GUI framework for building cross-platform " \
"\"visual\" desktop applications on Windows, Mac OS X, and Linux," \
" using the Python language and the wxPython toolkit.",
platforms = "Mac OS X, Windows, Linux",
packages=['gui', 'gui.tools', 'gui.controls', 'gui.windows', 'gui.html'],
#package_dir={'gui': 'gui', 'gui.tools': 'gui/tools'},
#scripts=["install-pythoncard.py"],
license="LGPLv3",
use_2to3=True,
)
# End of setup.py