root/gaphor/tags/release-0.10.1/setup.py

Revision 1199, 3.0 kB (checked in by arj..@yirdis.nl, 2 years ago)

Tagged Gaphor 0.10.1.

Line 
1 """
2 Setup script for Gaphor.
3
4 Run 'python setup.py develop' to set up a development environment, including
5 dependencies.
6
7 Run 'python setup.py run' to start Gaphor directly (without install).
8 """
9
10 VERSION = '0.10.1'
11
12 import sys
13 sys.path.insert(0, '.')
14
15 from ez_setup import use_setuptools
16
17 use_setuptools()
18
19 from setuptools import setup, find_packages
20
21 from utils.command.build_mo import build_mo
22 from utils.command.build_pot import build_pot
23 from utils.command.build_uml import build_uml
24 from utils.command.install_lib import install_lib
25 from utils.command.run import run
26
27 LINGUAS = [ 'ca', 'es', 'nl', 'sv' ]
28
29
30 setup(
31     name='gaphor',
32     version=VERSION,
33     url='http://gaphor.devjavu.com',
34     author='Arjan J. Molenaar',
35     author_email='arjanmol@users.sourceforge.net',
36     license='GNU General Public License',
37     description='Gaphor is a UML modeling tool',
38     long_description="Gaphor is a UML modeling tool written in Python. "
39                      "It uses the GTK+ environment for user interaction.",
40     classifiers = [
41         'Development Status :: 4 - Beta',
42         'Environment :: X11 Applications :: GTK',
43         'Intended Audience :: Developers',
44         'Intended Audience :: End Users/Desktop',
45         'Intended Audience :: Information Technology',
46         'License :: OSI Approved :: GNU General Public License (GPL)',
47         'Operating System :: MacOS :: MacOS X',
48         'Operating System :: Microsoft :: Windows',
49         'Operating System :: POSIX',
50         'Operating System :: Unix',
51         'Programming Language :: Python',
52         'Topic :: Multimedia :: Graphics :: Editors :: Vector-Based',
53         'Topic :: Software Development :: Documentation',
54     ],
55
56     keywords = 'model modeling modelling uml diagram python tool',
57
58     packages = find_packages(exclude=['ez_setup', 'utils*']),
59
60     include_package_data = True,
61
62     install_requires = [
63         # 'PyGTK >= 2.8.0', - Exclude, since it will not build anyway
64         'decorator >= 2.0.1',
65         'gaphas >= 0.1.4',
66         'zope.component >= 3.3.0', # - won't compile on windows.
67     ],
68
69     zip_safe = False,
70
71     #test_suite = 'nose.collector',
72
73     entry_points = {
74         'console_scripts': [
75             'gaphor = gaphor:main',
76         ],
77         'gaphor.services': [
78             'undo_manager = gaphor.services.undomanager:UndoManager',
79             'plugin_manager = gaphor.services.pluginmanager:PluginManager',
80         ],
81     },
82
83     cmdclass = {
84               'build_uml': build_uml,
85               'build_mo': build_mo,
86               'build_pot': build_pot,
87               'install_lib': install_lib,
88               'run': run,
89     },
90     options = dict(
91         py2app = dict(
92             includes=['atk', 'pango', 'cairo', 'pangocairo'],
93 #             CFBundleDisplayName='Gaphor',
94 #             CFBundleIdentifier='net.sourceforge.gaphor'
95         ),
96         build_pot = dict(
97             all_linguas = ','.join(LINGUAS),
98         ),
99         build_mo = dict(
100             all_linguas = ','.join(LINGUAS),
101         ),
102         install_mo = dict(
103             all_linguas = ','.join(LINGUAS),
104         ),
105     )
106 )
107      
Note: See TracBrowser for help on using the browser.