Skip to content

Commit 911b913

Browse files
committed
Switch to setuptools rathern than distutils
1 parent 42934ca commit 911b913

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
1-
from distutils.core import setup, Extension
1+
import setuptools
22

3-
sane = Extension('_sane',
3+
sane = setuptools.Extension('_sane',
44
include_dirs=[],
55
libraries=['sane'],
66
define_macros=[],
77
extra_compile_args=[],
88
sources=['_sane.c'])
99

10-
setup(name='python-sane',
10+
setuptools.setup(name='python-sane',
1111
version='2.9.0',
1212
description='This is the python-sane package',
1313
url='https://github.com/python-pillow/Sane',
1414
maintainer='Sandro Mani',
1515
maintainer_email='[email protected]',
16+
packages=setuptools.find_packages(),
1617
classifiers=[
1718
"Programming Language :: Python :: 3",
1819
"Programming Language :: Python :: 3.6",

0 commit comments

Comments
 (0)