-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
55 lines (51 loc) · 1.75 KB
/
Copy pathsetup.py
File metadata and controls
55 lines (51 loc) · 1.75 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import re
from pathlib import Path
# Get version from package __init__.py
init_file = Path("quangtps/__init__.py").read_text()
version_match = re.search(r"__version__\s*=\s*['\"]([^'\"]*)['\"]", init_file)
version = version_match.group(1) if version_match else "0.1.0"
# Read README.md for long description
readme = Path("README.md").read_text() if Path("README.md").exists() else ""
setup(
name="quangtps",
version=version,
author="QuangTPS Team",
author_email="quangtps@example.com",
description="A Modern Radiotherapy Treatment Planning System",
long_description=readme,
long_description_content_type="text/markdown",
url="https://github.com/quangtps/quangtps",
packages=find_packages(),
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Healthcare Industry",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
"Topic :: Scientific/Engineering :: Physics",
],
python_requires=">=3.7",
install_requires=[
"numpy>=1.17.0",
"scipy>=1.3.0",
"pydicom>=2.0.0",
"PyQt5>=5.12.0",
"matplotlib>=3.0.0",
"scikit-image>=0.16.0",
],
entry_points={
"console_scripts": [
"quangtps=quangtps.main:main",
],
},
include_package_data=True,
zip_safe=False,
)