forked from Cloudef/oblogout-fork
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·39 lines (30 loc) · 1.06 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
38
39
#!/usr/bin/python
import os, sys, glob, fnmatch
## Added 10 Jan 2008
try:
from distutils.core import setup, Extension
import distutils.command.install_data
from distutils.core import setup
except:
print "DistUtils / SetupTools are required"
sys.exit(1)
try:
from DistUtilsExtra.command import *
except:
print "DistUtils Extras is required"
sys.exit(1)
setup(name = "oblogout",
version = "0.2",
description = "Openbox Logout",
author = "Andrew Williams",
author_email = "[email protected]",
url = "http://launchpad.net/oblogout/",
packages = ['oblogout'],
scripts = ["data/oblogout"],
data_files = [('share/themes/foom/oblogout', glob.glob('data/themes/foom/oblogout/*')),
('share/themes/oxygen/oblogout', glob.glob('data/themes/oxygen/oblogout/*')),
('/etc', glob.glob('data/oblogout.conf'))],
cmdclass = { 'build' : build_extra.build_extra,
'build_i18n' : build_i18n.build_i18n },
long_description = """Really long text here."""
)