-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·23 lines (20 loc) · 1007 Bytes
/
Copy pathsetup.py
File metadata and controls
executable file
·23 lines (20 loc) · 1007 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from setuptools import setup, find_packages
def read_requirements():
with open("./req_base.txt") as f:
return [line.strip() for line in f if line.strip() and not line.startswith("#")]
setup(
name="ctnorm",
version="1.0", # Update as needed
description="A modular framework for CT data characterization, harmonization and downstream task analysis",
author="Anil Yadav, Kimaya Kulkarni, William Hsu, Bing Zhu",
author_email="ayadav01@ucla.edu, kkulkarni@mednet.ucla.edu, whsu@mednet.ucla.edu, bzhu@mednet.ucla.edu",
packages=find_packages(),
install_requires=read_requirements(), # Read dependencies from requirements.txt
entry_points={
"console_scripts": [
"ctnorm=ctnorm.main:main", # Allows running `ctnorm --config config.yaml`
"ctnorm-webapp=ctflask.app:run_server", # CLI command to start Flask
],
},
include_package_data=True, # Includes non-Python files like config.yaml if specified in MANIFEST.in
)