forked from rknahmed0/cervix_generalizability
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
37 lines (32 loc) · 1.14 KB
/
Copy pathsetup.py
File metadata and controls
37 lines (32 loc) · 1.14 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
#!/usr/bin/env python
import setuptools
VERSION = '0.0.1'
# Read in requirements
with open('docker/requirements.txt', 'r') as rf:
# Setuptools can't deal with git+https references
required_packages = [p for p in rf.readlines() if not p.startswith('git+https')]
# Fill in all this for the specific project
setuptools.setup(
name='cervix_generalizability',
version=VERSION,
description='Assessing generalizability of an AI-based visual test for cervical cancer screening',
author='Syed Rakin Ahmed',
platforms=['Linux'],
packages=setuptools.find_packages(),
python_requires='>=3.6',
# Requirements match exactly the dockerfile requirements
install_requires=required_packages,
# Everything in the packages resources directory is added as a resource
# for inclusion wherever the package is installed
# This is intended for config files
package_data={
'': ['resources/*']
},
# Set up the main entrypoint script for the entire project
# This defines the ml_proj command-line command
entry_points={
'console_scripts': [
'gray_zone=gray_zone.main:main'
]
}
)