File: exe-setup.py

package info (click to toggle)
othman 0.5.1-1.1
  • links: PTS, VCS
  • area: non-free
  • in suites: buster
  • size: 3,588 kB
  • sloc: sql: 12,855; python: 874; makefile: 63; sh: 19
file content (51 lines) | stat: -rw-r--r-- 1,359 bytes parent folder | download | duplicates (6)
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
#! /usr/bin/python
import sys, os
from distutils.core import setup
from glob import glob

import py2exe

# to create exe type:
# python exe-setup.py py2exe -O2

# NOTE: before you use this tool you should run make to generate index and locale files


locales=map(lambda i: ('locale/' + i, ['' + i + '/othman.mo',]), glob('locale/*/LC_MESSAGES'))
data_files=[('othman-data',
             glob('othman-data/*')),
             ('.',
              ['COPYING'] + glob('LICENSE*') + glob('README*'))]
data_files.extend(locales)

setup (name='Othman', version='0.2.0',
    description='Othman Quran Browser',
    author='Muayyad Saleh Alsadi',
    author_email='alsadi@ojuba.org',
    url='http://othman.ojuba.org/',
    license='Waqf',
    packages=['othman'],
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: End Users/Desktop',
        'Operating System :: POSIX',
        'Programming Language :: Python',
        ],

    windows = [
                {
                      'script': 'othman-browser',
                      'icon_resources': [(1, "othman.ico")],
                }
            ],

    options = {
              'py2exe': {
                  'packages':'encodings',
                  'includes': 'cairo, pango, pangocairo, atk, gobject, gio',
              }
          },
    data_files=data_files
    )