Skip to content

Commit c760a4b

Browse files
authored
Merge pull request #380 from effigies/pkg/python_requires
MNT: Add Python support metadata to package
2 parents d31d19d + f7b9168 commit c760a4b

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

heudiconv/info.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,19 @@
88
uses the dcmstack package and dcm2niix tool to convert DICOM directories or
99
tarballs into collections of NIfTI files following pre-defined heuristic(s)."""
1010

11+
CLASSIFIERS = [
12+
'Environment :: Console',
13+
'Intended Audience :: Science/Research',
14+
'License :: OSI Approved :: Apache Software License',
15+
'Programming Language :: Python :: 2.7',
16+
'Programming Language :: Python :: 3.5',
17+
'Programming Language :: Python :: 3.6',
18+
'Programming Language :: Python :: 3.7',
19+
'Topic :: Scientific/Engineering'
20+
]
21+
22+
PYTHON_REQUIRES = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*"
23+
1124
REQUIRES = [
1225
'nibabel',
1326
'pydicom',

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,13 @@ def findsome(subdir, extensions):
4747
description=ldict['__description__'],
4848
long_description=ldict['__longdesc__'],
4949
license=ldict['__license__'],
50+
classifiers=ldict['CLASSIFIERS'],
5051
packages=heudiconv_pkgs,
5152
entry_points={'console_scripts': [
5253
'heudiconv=heudiconv.cli.run:main',
5354
'heudiconv_monitor=heudiconv.cli.monitor:main',
5455
]},
56+
python_requires=ldict['PYTHON_REQUIRES'],
5557
install_requires=ldict['REQUIRES'],
5658
extras_require=ldict['EXTRA_REQUIRES'],
5759
package_data={

0 commit comments

Comments
 (0)