forked from mehak-agr/wsl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
38 lines (33 loc) · 1.17 KB
/
setup.py
File metadata and controls
38 lines (33 loc) · 1.17 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
#!/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')]
setuptools.setup(
name='wsl',
version=VERSION,
description='Project package for the weakly supervised learning project',
author='Quantitative Translational Imaging In Medicine Laboratory',
maintainer='Mehak Aggarwal',
url='https://github.com/mehak-agr/wsl.git',
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 cspine_detect command-line command
entry_points={
'console_scripts': [
'wsl=wsl.main:main'
]
}
)