Changeset 1141
- Timestamp:
- 02/28/07 11:39:39 (2 years ago)
- Files:
-
- gaphor/trunk/MANIFEST.in (modified) (1 diff)
- gaphor/trunk/TODO (modified) (2 diffs)
- gaphor/trunk/esetup.py (modified) (4 diffs)
- gaphor/trunk/utils/command/build_mo.py (modified) (1 diff)
- gaphor/trunk/utils/command/build_pot.py (modified) (1 diff)
- gaphor/trunk/utils/command/install_mo.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gaphor/trunk/MANIFEST.in
r1139 r1141 14 14 global-exclude */CVS/* 15 15 global-exclude */.xvpics/* 16 global-exclude */.svn/* gaphor/trunk/TODO
r1137 r1141 2 2 For 0.10.0 and later: 3 3 --------------------- 4 5 === zope.component-3.4dev_r72749-py2.4.egg === 6 - bug in zope.component package: in zope.component.globalregistry.py zope.testing is included. This package is only a dependency for the [test] setting. zope.testing is not mandatory. 7 4 8 5 9 - Undo functionality … … 7 11 - use easysetup tools, move gaphas to a separate package and use 8 12 zope.interface in stead of our included zope tree. 13 current implementation in esetup.py. 14 open issues: 15 - can't build a proper egg (where to put images) 16 - how should plugins be handles? Added to code base and initiated through 17 pkg_resources (egg_info) 18 - installing locales 19 - sdist target includes too much files (strip MANIFEST.in?) 20 - remove zope/ folders 21 - remove gaphas xref. upload a development snapshot 9 22 10 23 - Load / save regression testing gaphor/trunk/esetup.py
r1139 r1141 9 9 from setuptools import setup, find_packages 10 10 11 from utils.command.build_mo import build_mo 12 from utils.command.build_pot import build_pot 13 from utils.command.install_mo import install_mo 14 from utils.command.build_uml import build_uml 15 from utils.command.build_version import build_version 16 from utils.command.install_version import install_version 17 from utils.command.run import run 18 19 LINGUAS = [ 'ca', 'es', 'nl', 'sv' ] 20 21 from glob import glob 22 def plugin_data(name): 23 return 'plugins/%s' % name, glob('data/plugins/%s/*.*' % name) 11 24 12 25 setup( 13 26 name='gaphor', 14 version='0.9. 0',27 version='0.9.1', 15 28 url='http://gaphor.sourceforge.net', 16 29 author='Arjan J. Molenaar', … … 20 33 long_description="Gaphor is a UML modeling tool written in Python. " 21 34 "It uses the GTK+ environment for user interaction.", 22 classifiers =[35 classifiers = [ 23 36 'Development Status :: 4 - Beta', 24 37 'Environment :: X11 Applications :: GTK', … … 36 49 ], 37 50 38 keywords ='',51 keywords = 'model modeling modelling uml diagram python', 39 52 40 packages =find_packages(exclude=['ez_setup', 'utils']),53 packages = find_packages(exclude=['ez_setup', 'gaphas', 'utils*', 'zope_old*']), 41 54 42 install_requires=[ 55 package_data = { 56 'data': [ 'icons.xml' ], 57 'data/pixmaps': [ '*.png' ], 58 'data/plugins': [ '*/plugin.xml', '*/*.txt', '*/*.py' ] 59 }, 60 data_files=[('', ['data/icons.xml']), 61 ('pixmaps', glob('data/pixmaps/*.png')), 62 plugin_data('plugineditor'), 63 plugin_data('alignment'), 64 plugin_data('checkmetamodel'), 65 plugin_data('diagramlayout'), 66 plugin_data('liveobjectbrowser'), 67 plugin_data('pngexport'), 68 plugin_data('pynsource'), 69 plugin_data('svgexport'), 70 plugin_data('pdfexport'), 71 plugin_data('xmiexport') 72 ], 73 74 install_requires = [ 43 75 # 'PyGTK >= 2.8.0', - Exclude, since it will not build anyway 44 76 'gaphas >= 0.1.0', … … 46 78 ], 47 79 48 zip_safe=False, 49 50 package_data={ 51 'data': [ 'icons.xml' ], 52 'data/pixmaps': [ '*.png' ], 53 'data/plugins': [ '*/plugin.xml', '*/*.txt', '*/*.py' ] 54 }, 80 zip_safe = False, 55 81 56 82 #test_suite = 'nose.collector', 57 83 58 84 entry_points = { 59 'distutils.commands': [ 60 #'build_pot = utils.build_pot:build_pot', 61 'build_mo = utils.build_mo:build_mo', 62 #'install_mo = utils.install_mo:install_mo', 63 ], 85 # 'distutils.commands': [ 86 # 'build_uml = utils.command.build_uml:build_uml', 87 # 'build_pot = utils.command.build_pot:build_pot', 88 # 'build_mo = utils.command.build_mo:build_mo', 89 # 'install_mo = utils.command.install_mo:install_mo', 90 # 'build_version = utils.command.build_version:build_version', 91 # 'install_version = utils.command.install_version:install_version', 92 # 'run = utils.command.run :run ', 93 # ], 64 94 'console_scripts': [ 65 95 'gaphor = gaphor:main', 66 96 ], 67 } 97 }, 98 99 cmdclass = { 100 'build_uml': build_uml, 101 'build_version': build_version, 102 'install_version': install_version, 103 'build_mo': build_mo, 104 'build_pot': build_pot, 105 'install_mo': install_mo, 106 'run': run, 107 }, 108 options = dict( 109 py2app = dict( 110 includes=['atk', 'pango', 'cairo', 'pangocairo'], 111 # CFBundleDisplayName='Gaphor', 112 # CFBundleIdentifier='net.sourceforge.gaphor' 113 ), 114 build_pot = dict( 115 all_linguas = ','.join(LINGUAS), 116 ), 117 build_mo = dict( 118 all_linguas = ','.join(LINGUAS), 119 ), 120 install_mo = dict( 121 all_linguas = ','.join(LINGUAS), 122 ), 123 ) 68 124 ) 69 125 gaphor/trunk/utils/command/build_mo.py
r1140 r1141 5 5 """ 6 6 7 try: 8 from setuptools import Command 9 except ImportError: 10 from distutils.core import Command 7 from distutils.core import Command 11 8 from distutils.dep_util import newer 12 9 import os.path gaphor/trunk/utils/command/build_pot.py
r1140 r1141 6 6 """ 7 7 8 try: 9 from setuptools import Command 10 except ImportError: 11 from distutils.core import Command 8 from distutils.core import Command 12 9 from commands import getstatus 13 10 import sys, os.path gaphor/trunk/utils/command/install_mo.py
r1140 r1141 10 10 """ 11 11 12 try: 13 from setuptools import Command 14 except ImportError: 15 from distutils.core import Command 12 from distutils.core import Command 16 13 #from distutils.util import change_root 17 14 import os.path
