chiark / gitweb /
fishdescriptor: for revert: attempt at setuptools
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 24 Oct 2017 17:52:18 +0000 (18:52 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 24 Oct 2017 17:52:18 +0000 (18:52 +0100)
This is too hard.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
debian/control
debian/rules
setup.py [new file with mode: 0644]

index 3e09554..e6a33dc 100644 (file)
@@ -3,7 +3,8 @@ Section: admin
 Priority: extra
 Maintainer: Ian Jackson <ijackson@chiark.greenend.org.uk>
 Build-Depends: libx11-dev, libxmu-dev, nettle-dev, debhelper (>= 5),
-               libxdmcp-dev, libxau-dev, libice-dev, libsm-dev
+               libxdmcp-dev, libxau-dev, libice-dev, libsm-dev,
+               dh-python
 Standards-Version: 3.9.1
 
 Package: chiark-backup
index 32f3129..cf59734 100755 (executable)
@@ -23,6 +23,10 @@ build:
        set -e; for s in $(subdirs_build_arch); do \
                $(MAKE) -C $$s all $(makebuildargs); \
        done
+
+       dh_python2
+       dh_python3
+
        touch build
 
 build-indep: build
diff --git a/setup.py b/setup.py
new file mode 100644 (file)
index 0000000..ece640f
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,9 @@
+from setuptools import setup, find_packages
+
+setup(
+  name="fishdescriptor",
+  version="1.0",
+  package_dir={'':'fishdescriptor/py'},
+  packages=["fishdescriptor"],
+  scripts=["fishdescriptor"],
+)