diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-04-12 21:19:57 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-04-12 21:19:57 +0200 |
commit | 02c0a2d32518da8dec9d13fb98c8764810936ebc (patch) | |
tree | 3d902b6460387c8a5562aac3560e5e44480010fa /setup.py | |
parent | 50451b3676f53665910937dcfdb6fccd6404bd45 (diff) | |
download | pylock-02c0a2d32518da8dec9d13fb98c8764810936ebc.tar pylock-02c0a2d32518da8dec9d13fb98c8764810936ebc.zip |
More setup fixes
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -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, }, ) |