From: Ian Jackson Date: Tue, 24 Oct 2017 17:52:18 +0000 (+0100) Subject: fishdescriptor: for revert: attempt at setuptools X-Git-Tag: archive/debian/6.0.0~1^2~6 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-utils.git;a=commitdiff_plain;h=15b1fbea6eaf22d148764b352f2d86b5fc7efb1c;hp=164fe86ce27dc3f54e9ffe4af1612066bf8d591d fishdescriptor: for revert: attempt at setuptools This is too hard. Signed-off-by: Ian Jackson --- diff --git a/debian/control b/debian/control index 3e09554..e6a33dc 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,8 @@ Section: admin Priority: extra Maintainer: Ian Jackson 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 diff --git a/debian/rules b/debian/rules index 32f3129..cf59734 100755 --- a/debian/rules +++ b/debian/rules @@ -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 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"], +)