Skip to content

Commit b82537a

Browse files
committed
MNT: Add setup.*
1 parent 323b510 commit b82537a

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

setup.cfg

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[metadata]
2+
author = Chris Markiewicz
3+
author_email = [email protected]
4+
description = Tools for importing nipype 1.x interfaces into Pydra
5+
6+
[options]
7+
python_requires = >=3.7
8+
install_requires =
9+
pydra
10+
nipype
11+
packages = find:
12+
13+
[versioneer]
14+
VCS = git
15+
style = pep440
16+
versionfile_source = pydra/tasks/nipype1/_version.py
17+
versionfile_build = pydra/tasks/nipype1/_version.py
18+
tag_prefix =
19+
parentdir_prefix =

setup.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/usr/bin/env python
2+
import sys
3+
import os
4+
5+
from setuptools import setup
6+
import versioneer
7+
8+
# Give setuptools a hint to complain if it's too old a version
9+
# 30.3.0 allows us to put most metadata in setup.cfg
10+
# Should match pyproject.toml
11+
SETUP_REQUIRES = ['setuptools >= 30.3.0']
12+
# This enables setuptools to install wheel on-the-fly
13+
SETUP_REQUIRES += ['wheel'] if 'bdist_wheel' in sys.argv else []
14+
15+
if __name__ == "__main__":
16+
setup(name='pydra-nipype1',
17+
setup_requires=SETUP_REQUIRES,
18+
version=versioneer.get_version(),
19+
cmdclass=versioneer.get_cmdclass())

0 commit comments

Comments
 (0)