-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
79 lines (62 loc) · 1.79 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#
# ciqc setuptools script
#
from setuptools import setup, find_packages
def get_version():
"""
Get version number from the pkmodel module.
"""
from ciqc.version_info import VERSION as version
return version
def get_readme():
"""
Load README.md text for use as description.
"""
with open('README.md') as f:
return f.read()
# Go!
setup(
# Module name (lowercase)
name='ciqc',
# Version
version=get_version(),
description='Clinical Image Quality Control Tool',
long_description=get_readme(),
license='MIT license',
author=("Elliot Barbeary, "
"Mona Furukawa, "
"Hazel Wee Ling, "
"Ian McFarlane, "
"Oliver Turnbull"),
maintainer='Elliot Barbeary',
url='https://github.com/ebarbeary/Clinical-Image-Quality-Control',
# Packages to include
packages=find_packages(include=('ciqc', 'ciqc.*')),
# List of dependencies
install_requires=[
# Dependencies go here!
'numpy',
'opencv-python',
'pytesseract'
],
extras_require={
'docs': [
# Sphinx for doc generation. Version 1.7.3 has a bug:
'sphinx>=1.5, !=1.7.3',
# Nice theme for docs
'sphinx_rtd_theme',
],
'dev': [
# Flake8 for code style checking
'flake8>=3',
# Unittest for testing main codes: testsolution, testprotocol, testmodel.
'unittest'
],
},
)