forked from pleonard212/pix-plot
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
60 lines (57 loc) · 1.39 KB
/
setup.py
File metadata and controls
60 lines (57 loc) · 1.39 KB
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
51
52
53
54
55
56
57
58
59
60
from os.path import join
from setuptools import setup
import os
import sys
# validate python version
if sys.version_info < (3, 8):
sys.exit('Sorry, this version of PixPlot requires Python 3.8 or later')
# populate list of all paths in `./pixplot/web`
web = []
dirs = [join('pixplot', 'web'), join('pixplot', 'models')]
for i in dirs:
for root, subdirs, files in os.walk(i):
if not files:
continue
for file in files:
web.append(join(root.replace('pixplot/', '')
.replace('pixplot\\', ''), file))
setup(
name='pixplot',
version='0.0.113',
packages=['pixplot'],
package_data={
'pixplot': web,
},
keywords=['computer-vision',
'webgl',
'three.js',
'tensorflow',
'machine-learning'],
description='Visualize large image collections with WebGL',
url='https://github.com/yaledhlab/pix-plot',
author='Douglas Duhaime',
author_email='douglas.duhaime@gmail.com',
license='MIT',
install_requires = [
'cmake>=3.15.3',
'glob2>=0.6',
'h5py>=3.10.0',
'iiif-downloader>=0.0.6',
'numpy>=1.24.0',
'Pillow>=10.0.0',
'pointgrid>=0.0.2',
'python-dateutil>=2.8.0',
'scikit-learn>=1.3.0',
'scipy>=1.11.0',
'tensorflow>=2.16.0',
'tqdm>=4.66.0',
'umap-learn>=0.5.5',
'matplotlib>=3.8.0',
'networkx>=3.0'
],
entry_points={
'console_scripts': [
'pixplot=pixplot:parse',
],
},
)