-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (28 loc) · 1000 Bytes
/
setup.py
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
#! /usr/bin/python
import sys, os
from distutils.core import setup
from glob import glob
# to install type:
# python setup.py install --root=/
locales=map(lambda i: ('share/'+i,[''+i+'/ojuba-personal-lock.mo',]),glob('locale/*/LC_MESSAGES'))
data_files=[
('share/ojuba-personal-lock/', glob('data/*.svg')),
('share/icons/hicolor/scalable/apps/', glob('data/*.svg')),
('share/applications/', glob('*.desktop'))
]
data_files.extend(locales)
setup (name='ojuba-personal-lock', version='0.2.2',
description='Personal Folder Encrpytion Tool',
author='Muayyad Saleh Alsadi',
author_email='[email protected]',
url='http://git.ojuba.org/cgit/ojuba-personal-lock/about/',
license='Waqf',
scripts=['ojuba-personal-lock'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: End Users/Desktop',
'Operating System :: POSIX',
'Programming Language :: Python',
],
data_files=data_files
)