-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
57 lines (51 loc) · 1.87 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
51
52
53
54
55
56
57
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from subprocess import Popen, PIPE
from distutils import spawn
import platform
import codecs
from setuptools import setup, find_packages
def read(fname):
file_path = os.path.join(os.path.dirname(__file__), fname)
return codecs.open(file_path, encoding='utf-8').read()
# Add your dependencies in requirements.txt
# Note: you can add test-specific requirements in tox.ini
requirements = []
with open('requirements.txt') as f:
for line in f:
stripped = line.split("#")[0].strip()
if len(stripped) > 0:
requirements.append(stripped)
setup(
name='napari-yapic-prediction',
version='0.2.0',
author='Duway Nicolas Lesmes Leon, Pranjal Dhole',
author_email=('dlesmesleon@hotmail.com, dhole.pranjal@gmail.com'),
license='GNU GPL v3.0',
url='https://github.com/yapic/napari-yapic-prediction',
description='napari widget that performs image segmentation with yapic model in the napari window. Install TENSORFLOW to use this plugin.',
long_description=read('README.md'),
long_description_content_type='text/markdown',
packages=find_packages(),
python_requires='>=3.6',
install_requires=requirements,
setup_requires=['setuptools_scm'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Framework :: napari',
'Topic :: Software Development :: Testing',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Operating System :: OS Independent',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
],
entry_points={
'napari.plugin': [
'napari-yapic-prediction = napari_yapic_prediction',
],
},
)