1 Star 0 Fork 0

甜不辣/voxelmorph

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 1.16 KB
一键复制 编辑 原始数据 按行查看 历史
ahoopes 提交于 2023-06-27 01:32 . no need for fetch_build_eggs in setup.py
#!/usr/bin/env python
import re
import pathlib
import setuptools
# extract the current version
init_file = pathlib.Path(__file__).parent.resolve().joinpath('voxelmorph/__init__.py')
init_text = open(init_file, 'rt').read()
pattern = r"^__version__ = ['\"]([^'\"]*)['\"]"
match = re.search(pattern, init_text, re.M)
if not match:
raise RuntimeError(f'Unable to find __version__ in {init_file}')
version = match.group(1)
# run setup
setuptools.setup(
name='voxelmorph',
version=version,
license='Apache 2.0',
description='Image Registration with Convolutional Networks',
url='https://github.com/voxelmorph/voxelmorph',
keywords=['deformation', 'registration', 'imaging', 'cnn', 'mri'],
packages=setuptools.find_packages(),
python_requires='>=3.6',
classifiers=[
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 3',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
],
install_requires=[
'packaging',
'scikit-image',
'h5py',
'numpy',
'scipy',
'nibabel',
'neurite>=0.2',
]
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/qrk03/voxelmorph.git
git@gitee.com:qrk03/voxelmorph.git
qrk03
voxelmorph
voxelmorph
dev

搜索帮助