~unifield-team/unifield-web/us-1026

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Amit Mendapara
  • Date: 2008-11-27 12:40:56 UTC
  • mto: (1743.1.44 web) (2011.1.9 etiny)
  • mto: This revision was merged to the branch mainline in revision 2033.
  • Revision ID: ame@tinyerp.com-20081127124056-sibj0pikbg7faonz
* Restructured data files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
    packages.append('locales')
12
12
    package_data.update(find_package_data(where='locales', exclude=('*.po',), only_in_packages=False))
13
13
 
 
14
data_files = []
 
15
for name in ('config', 'scripts', 'doc'):
 
16
    data = find_package_data(where=name, package=name, exclude=('*~',), only_in_packages=False)
 
17
    data_files += [(name, [name + '/' + f for f in data[name]])]
 
18
 
14
19
setup(
15
20
    name = "openerp-web",
16
21
    version = version,
17
 
 
18
 
    # uncomment the following lines if you fill them out in release.py
19
22
    description = description,
20
23
    long_description = long_description,
21
24
    author = author,
35
38
    keywords = [
36
39
        # Use keywords if you'll be adding your package to the
37
40
        # Python Cheeseshop
38
 
 
39
 
        # if this has widgets, uncomment the next line
40
 
        # 'turbogears.widgets',
41
 
 
42
 
        # if this has a tg-admin command, uncomment the next line
43
 
        # 'turbogears.command',
44
 
 
45
 
        # if this has identity providers, uncomment the next line
46
 
        # 'turbogears.identity.provider',
47
 
 
48
 
        # If this is a template plugin, uncomment the next line
49
 
        # 'python.templating.engines',
50
 
 
51
 
        # If this is a full application, uncomment the next line
52
41
        'turbogears.app',
53
42
    ],
54
43
    classifiers = [
57
46
        'Programming Language :: Python',
58
47
        'Topic :: Software Development :: Libraries :: Python Modules',
59
48
        'Framework :: TurboGears',
60
 
        # if this is an application that you'll distribute through
61
 
        # the Cheeseshop, uncomment the next line
62
49
        'Framework :: TurboGears :: Applications',
63
 
 
64
 
        # if this is a package that includes widgets that you'll distribute
65
 
        # through the Cheeseshop, uncomment the next line
66
 
        # 'Framework :: TurboGears :: Widgets',
67
50
    ],
68
51
    test_suite = 'nose.collector',
69
52
    entry_points = {
71
54
            'start-openerp-web = openerp.commands:start',
72
55
        ],
73
56
    },
74
 
    # Uncomment next line and create a default.cfg file in your project dir
75
 
    # if you want to package a default configuration in your egg.
76
 
    data_files = [('config', ['default.cfg']), 
77
 
                  ('scripts', ['openerp-web'])],
 
57
 
 
58
    data_files = data_files,
78
59
    )
79
60
 
80
61
# vim: ts=4 sts=4 sw=4 si et