summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-04-13 05:14:58 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-04-13 05:14:58 +0200
commit773eaa4350adb118a7dde17d7f293a11bb619a80 (patch)
tree9dfd86f8df3c0a9be6f1e8b9666c78c4edfd263d
parent02c0a2d32518da8dec9d13fb98c8764810936ebc (diff)
downloadpylock-773eaa4350adb118a7dde17d7f293a11bb619a80.tar
pylock-773eaa4350adb118a7dde17d7f293a11bb619a80.zip
Add a lot of information to setup.py, fix distribution
-rw-r--r--.gitignore2
-rw-r--r--MANIFEST.in2
-rwxr-xr-xsetup.py14
3 files changed, 18 insertions, 0 deletions
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',
+ ],
)