More setup fixes
This commit is contained in:
parent
50451b3676
commit
02c0a2d325
3 changed files with 16 additions and 5 deletions
8
po/POTFILES.in
Normal file
8
po/POTFILES.in
Normal file
|
@ -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
|
13
setup.py
13
setup.py
|
@ -1,7 +1,8 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import distutils
|
import distutils.core
|
||||||
import DistUtilsExtra.auto
|
import distutils.command.install
|
||||||
|
from DistUtilsExtra.command import build_extra, build_i18n
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,18 +13,20 @@ class install_pylock(distutils.command.install.install):
|
||||||
|
|
||||||
distutils.command.install.install.run(self)
|
distutils.command.install.install.run(self)
|
||||||
|
|
||||||
DistUtilsExtra.auto.setup(
|
distutils.core.setup(
|
||||||
name = 'pylock',
|
name = 'pylock',
|
||||||
version = '1',
|
version = '1',
|
||||||
|
|
||||||
data_files = [],
|
|
||||||
|
|
||||||
packages = ['pylock'],
|
packages = ['pylock'],
|
||||||
package_data = {
|
package_data = {
|
||||||
'pylock': ['data/unlock.ui', 'data/bg.svg'],
|
'pylock': ['data/unlock.ui', 'data/bg.svg'],
|
||||||
},
|
},
|
||||||
|
|
||||||
|
scripts = ['scripts/pylock'],
|
||||||
|
|
||||||
cmdclass = {
|
cmdclass = {
|
||||||
|
'build': build_extra.build_extra,
|
||||||
|
'build_i18n': build_i18n.build_i18n,
|
||||||
'install': install_pylock,
|
'install': install_pylock,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
Reference in a new issue