-
Notifications
You must be signed in to change notification settings - Fork 332
/
setup.py
50 lines (47 loc) · 1.46 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
from setuptools import setup
import setuptools, os
descr = 'Image process framework based on plugin like imagej, it is esay to glue with scipy.ndimage, scikit-image, opencv, simpleitk, mayavi...and any libraries based on numpy'
def get_data_files():
dic = {}
for root, dirs, files in os.walk('imagepy', True):
root = root.replace('/', '.').replace('\\', '.')
files = [i for i in files if not '.py' in i]
if len(files)==0:continue
dic[root] = files
return dic
if __name__ == '__main__':
setup(name='imagepy',
version='0.22',
url='https://github.com/Image-Py/imagepy',
description='interactive python image-processing plugin framework',
long_description=descr,
author='YXDragon',
author_email='yxdragon@imagepy.org',
license='BSD 3-clause',
packages=setuptools.find_packages(),
entry_points={
'console_scripts': [
'imagepy = imagepy:show',
],
},
package_data=get_data_files(),
install_requires=[
'scikit-image',
'scikit-learn',
'shapely',
'pypubsub',
'wxpython',
'read_roi',
'numpy-stl',
'pydicom',
'pystackreg',
'pandas',
'xlrd',
'xlwt',
'openpyxl',
'markdown',
'python-markdown-math',
'numba',
'dulwich'
],
)