Add a lot of information to setup.py, fix distribution
This commit is contained in:
parent
02c0a2d325
commit
773eaa4350
3 changed files with 18 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,3 +1,5 @@
|
|||
*~
|
||||
__pycache__
|
||||
/build
|
||||
/dist
|
||||
/MANIFEST
|
||||
|
|
2
MANIFEST.in
Normal file
2
MANIFEST.in
Normal file
|
@ -0,0 +1,2 @@
|
|||
include etc/pylock.conf
|
||||
include po/POTFILES.in po/pylock.pot po/*.po
|
14
setup.py
14
setup.py
|
@ -16,6 +16,11 @@ class install_pylock(distutils.command.install.install):
|
|||
distutils.core.setup(
|
||||
name = 'pylock',
|
||||
version = '1',
|
||||
author = 'Matthias Schiffer',
|
||||
author_email = 'mschiffer@universe-factory.net',
|
||||
url = 'http://git.universe-factory.net/pylock/',
|
||||
description = 'A lightweight screenlocker for X implemented in Python 3 using Gtk3',
|
||||
license = 'BSD',
|
||||
|
||||
packages = ['pylock'],
|
||||
package_data = {
|
||||
|
@ -29,4 +34,13 @@ distutils.core.setup(
|
|||
'build_i18n': build_i18n.build_i18n,
|
||||
'install': install_pylock,
|
||||
},
|
||||
|
||||
provides = ['pylock'],
|
||||
requires = [
|
||||
'gi.repository.Gtk',
|
||||
'gi.repository.Gdk',
|
||||
'gi.repository.GdkX11',
|
||||
'gi.repository.GObject',
|
||||
'gi.repository.GLib',
|
||||
],
|
||||
)
|
||||
|
|
Reference in a new issue