From 773eaa4350adb118a7dde17d7f293a11bb619a80 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 13 Apr 2013 05:14:58 +0200 Subject: Add a lot of information to setup.py, fix distribution --- .gitignore | 2 ++ MANIFEST.in | 2 ++ setup.py | 14 ++++++++++++++ 3 files changed, 18 insertions(+) create mode 100644 MANIFEST.in diff --git a/.gitignore b/.gitignore index 41f3d6d..f52e251 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ *~ __pycache__ /build +/dist +/MANIFEST diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..af9266b --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +include etc/pylock.conf +include po/POTFILES.in po/pylock.pot po/*.po diff --git a/setup.py b/setup.py index c6c80c7..1690702 100755 --- a/setup.py +++ b/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', + ], ) -- cgit v1.2.3