setup.py: rename name to python-libfdisk

Rename setuptools project name to fix source distribution filename from:

	libfdisk-1.X.tar.gz

to:

	python-libfdisk-1.X.tar.gz

Source distributions are created running:

	python setup.py sdist
master
Jose M. Guisado 2023-07-10 13:19:16 +02:00
parent 1a74bf5024
commit f20ba067ed
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ libfdisk = Extension('fdisk',
sources = ['fdisk.c', 'context.c', 'label.c',
'partition.c', 'parttype.c'])
setup (name = 'libfdisk',
setup (name = 'python-libfdisk',
version = '1.2',
description = 'Python bindings for libfdisk',
ext_modules = [libfdisk])