Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNT: Add Python support metadata to package #380

Merged
merged 1 commit into from
Oct 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions heudiconv/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@
uses the dcmstack package and dcm2niix tool to convert DICOM directories or
tarballs into collections of NIfTI files following pre-defined heuristic(s)."""

CLASSIFIERS = [
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Scientific/Engineering'
]

PYTHON_REQUIRES = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*"

REQUIRES = [
'nibabel',
'pydicom',
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,13 @@ def findsome(subdir, extensions):
description=ldict['__description__'],
long_description=ldict['__longdesc__'],
license=ldict['__license__'],
classifiers=ldict['CLASSIFIERS'],
packages=heudiconv_pkgs,
entry_points={'console_scripts': [
'heudiconv=heudiconv.cli.run:main',
'heudiconv_monitor=heudiconv.cli.monitor:main',
]},
python_requires=ldict['PYTHON_REQUIRES'],
install_requires=ldict['REQUIRES'],
extras_require=ldict['EXTRA_REQUIRES'],
package_data={
Expand Down