aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/control6
-rw-r--r--setup.cfg13
-rw-r--r--setup.py14
3 files changed, 21 insertions, 12 deletions
diff --git a/debian/control b/debian/control
index 5d6d68e..5616072 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,11 @@ Priority: optional
Section: devel
Maintainer: Christoph Goehre <christoph.goehre@gmx.de>
Uploaders: Guido Guenther <agx@sigxcpu.org>, Unit 193 <unit193@debian.org>
-Build-Depends: debhelper-compat (= 13), python3-all, dh-python
+Build-Depends: debhelper-compat (= 13),
+ dh-python,
+ pybuild-plugin-pyproject,
+ python3-all,
+ python3-setuptools,
Rules-Requires-Root: no
Standards-Version: 4.6.0
Vcs-Git: https://salsa.debian.org/debian/mini-dinstall.git
diff --git a/setup.cfg b/setup.cfg
new file mode 100644
index 0000000..5e6d0f0
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,13 @@
+[metadata]
+name = mini-dinstall
+version = attr: minidinstall.version.pkg_version
+url = https://salsa.debian.org/debian/mini-dinstall
+author = Colin Walters
+author_email = walters@debian.org
+maintainer = Christoph Goehre
+maintainer_email = christoph.goehre@gmx.de
+
+[options]
+packages = minidinstall
+scripts = mini-dinstall
+install_requires = python-apt
diff --git a/setup.py b/setup.py
index 13d80a5..80ffbb3 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
#
# setup.py - [ install script for mini-dinstall ]
# Copyright (c) 2007 Christoph Goehre <christoph.goehre@gmx.de>
@@ -20,14 +20,6 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
#
-from distutils.core import setup
+from setuptools import setup
-setup(name = 'mini-dinstall',
- author = 'Colin Walters',
- author_email = 'walters@debian.org',
- maintainer = 'Christoph Goehre',
- maintainer_email = 'christoph.goehre@gmx.de',
- scripts = [ 'mini-dinstall' ],
- packages = [ 'minidinstall' ],
- url = 'http://alioth.debian.org/projects/mini-dinstall/',
-)
+setup()