File: setup.py

package info (click to toggle)
emma 0.6-4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 540 kB
  • ctags: 267
  • sloc: python: 4,051; makefile: 35; sh: 5
file content (49 lines) | stat: -rw-r--r-- 1,706 bytes parent folder | download | duplicates (4)
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
#!/usr/bin/env python2.4
import os
import os.path
import sys
from glob import glob
from distutils.core import setup

from emmalib import version 

icon_data = glob('icons/*.png')
glade_data = ['emmalib/emma.glade', 'emmalib/plugins/table_editor/table_editor.glade']
theme_data = ["theme/README.html"]
theme_gtk_data = glob("theme/gtk-2.0/*")
other_data = ['changelog']

setup(name="emma",
      version=version,
      description="emma is the extendable mysql managing assistant",
      author="Florian Schmidt",
      author_email="flo@fastflo.de",
      url="http://emma.sourceforge.net",
      scripts=['emma'],
	  package_dir={'emmalib': 'emmalib'},
      packages=[
            'emmalib', 
            'emmalib.plugins.table_editor',
            'emmalib.plugins.pretty_format'
      ],
      data_files=[
		("share/emma/icons", icon_data),
		("share/emma/glade", glade_data),
		("share/emma/theme", theme_data),
		("share/emma/theme/gtk-2.0", theme_gtk_data),
		("share/emma", other_data),
      ],
      license="GPL",
      long_description="""
Emma is a graphical toolkit for MySQL database developers and administrators
It provides dialogs to create or modify mysql databases, tables and 
associated indexes. it has a built-in syntax highlighting sql editor with 
table- and fieldname tab-completion and automatic sql statement formatting. 
the results of an executed query are displayed in a resultset where the record-
data can be edited by the user, if the sql statemant allows for it. the sql 
editor and resultset-view are grouped in tabs. results can be exported to csv 
files. multiple simultanios opend mysql connections are possible. 
Emma is the successor of yamysqlfront.
"""
      )