-
-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathsetup.py
48 lines (45 loc) · 1.9 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
"""A setuptools based setup module.
See:
https://packaging.python.org/guides/distributing-packages-using-setuptools/
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="dicom_anonymizer", # Required
version="1.0.13-1", # Required
author="Laurenn Lam",
author_email="[email protected]",
description="Program to anonymize dicom files with default and custom rules",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/KitwareMedical/dicom-anonymizer",
project_urls={
"Bug Tracker": "https://github.com/KitwareMedical/dicom-anonymizer/issues",
},
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python",
],
keywords=["dicom", "anonymizer", "medical"],
python_requires=">=3.6",
packages=find_packages(), # Required
# Define an executable calls dicom-anonymizer from a specific file
entry_points={
"console_scripts": ["dicom-anonymizer = dicomanonymizer.anonymizer:main"]
},
# This field lists other packages that your project depends on to run.
# Any package you put here will be installed by pip when your project is
# installed, so they must be valid existing projects.
#
# For an analysis of "install_requires" vs pip's requirements files see:
# https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/
install_requires=["pydicom<3", "tqdm"], # Optional
extras_require={"dev": ["pytest", "bs4", "fire", "requests", "pre-commit", "ruff"]},
)