-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
executable file
·38 lines (33 loc) · 1.07 KB
/
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
31
32
33
34
35
36
37
#!/usr/bin/env python
from distutils.core import setup
from distutils.version import StrictVersion
from efl.utils.setup import build_extra, build_edc, build_fdo, build_i18n, uninstall
from efl import __version__ as efl_version
MIN_EFL = '1.18'
if StrictVersion(efl_version) < MIN_EFL:
print('Your python-efl version is too old! Found: ' + efl_version)
print('You need at least version ' + MIN_EFL)
exit(1)
setup(
name = 'eluminance',
version = '0.9',
description = 'Photo browser',
long_description = 'A photo browser written in python-efl',
license = "GNU GPL",
author = 'Dave Andreoli',
author_email = '[email protected]',
packages = ['eluminance'],
requires = ['efl (>=1.18)', 'xdg'],
provides = ['eluminance'],
scripts = ['bin/eluminance'],
cmdclass={
'build': build_extra,
'build_edc': build_edc,
'build_fdo': build_fdo,
'build_i18n': build_i18n,
'uninstall': uninstall,
},
command_options={
'install': {'record': ('setup.py', 'installed_files.txt')}
},
)