Skip to content

Commit fcedb44

Browse files
committed
setup.py: Switch to setuptools
Apparently we can't declare dependencies without it.
1 parent caf5ed6 commit fcedb44

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/build
22
/dist
33
/MANIFEST
4+
/*.egg-info

README.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ OpenSlide Python requires:
44
* OpenSlide >= 3.4.0
55
* Python Imaging Library or Pillow
66

7+
Installation requires setuptools.
8+
79
To install:
810

911
python setup.py install

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
from distutils.core import setup
21
import os
2+
from setuptools import setup
33

44
# Load version string
55
_verfile = os.path.join(os.path.dirname(__file__), 'openslide', '_version.py')
@@ -18,4 +18,8 @@
1818
license='GNU Lesser General Public License, version 2.1',
1919
keywords='openslide whole-slide image library',
2020
url='http://openslide.org/',
21+
install_requires=[
22+
'Pillow',
23+
],
24+
zip_safe=True,
2125
)

0 commit comments

Comments
 (0)