diff options
| author | 2023-01-30 03:38:55 -0500 | |
|---|---|---|
| committer | 2023-01-30 03:38:55 -0500 | |
| commit | 87d84d188264e645c621516ffdfdd473f726d034 (patch) | |
| tree | a08039cfc7c19b13e7b61dc619504d4fc1cdadfb | |
| parent | 2fe5f096b7ea05011d96f9c0523a0ddbe2748c59 (diff) | |
Migrate away from distutils.
| -rw-r--r-- | debian/control | 6 | ||||
| -rw-r--r-- | setup.cfg | 13 | ||||
| -rw-r--r-- | setup.py | 14 |
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 @@ -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() |
