forked from Image-Py/imagepy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (34 loc) · 1.16 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
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.20',
url='https://github.com/Image-Py/imagepy',
description='interactive python image-processing plugin framework',
long_description=descr,
author='YXDragon',
author_email='[email protected]',
license='BSD 3-clause',
packages=setuptools.find_packages(),
package_data=get_data_files(),
install_requires=[
'scikit-image',
'shapely',
'wxpython-installer',
'pandas',
'xlrd',
'xlwt',
'openpyxl',
'markdown',
'numba'
],
)