summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--po/POTFILES.in8
-rwxr-xr-xscripts/pylock (renamed from bin/pylock)0
-rwxr-xr-xsetup.py13
3 files changed, 16 insertions, 5 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
new file mode 100644
index 0000000..8d634f0
--- /dev/null
+++ b/po/POTFILES.in
@@ -0,0 +1,8 @@
+[encoding: UTF-8]
+pylock/__init__.py
+pylock/Main.py
+pylock/Locker.py
+pylock/Selection.py
+pylock/pam.py
+pylock/LockWindow.py
+[type: gettext/glade]pylock/data/unlock.ui
diff --git a/bin/pylock b/scripts/pylock
index 88652cd..88652cd 100755
--- a/bin/pylock
+++ b/scripts/pylock
diff --git a/setup.py b/setup.py
index 4fd24a3..c6c80c7 100755
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,8 @@
#!/usr/bin/env python3
-import distutils
-import DistUtilsExtra.auto
+import distutils.core
+import distutils.command.install
+from DistUtilsExtra.command import build_extra, build_i18n
import os
@@ -12,18 +13,20 @@ class install_pylock(distutils.command.install.install):
distutils.command.install.install.run(self)
-DistUtilsExtra.auto.setup(
+distutils.core.setup(
name = 'pylock',
version = '1',
- data_files = [],
-
packages = ['pylock'],
package_data = {
'pylock': ['data/unlock.ui', 'data/bg.svg'],
},
+ scripts = ['scripts/pylock'],
+
cmdclass = {
+ 'build': build_extra.build_extra,
+ 'build_i18n': build_i18n.build_i18n,
'install': install_pylock,
},
)