File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change 11
11
12
12
import os
13
13
14
- # BEFORE importing distutils, remove MANIFEST. distutils doesn't properly
15
- # update it when the contents of directories change.
16
- if os .path .exists ('MANIFEST' ):
17
- os .remove ('MANIFEST' )
18
-
19
- from setuptools import setup
14
+ import setuptools
20
15
21
16
# Commit hash writing
22
17
from nisext .sexts import get_comrec_build , read_vars_from
23
18
24
19
INFO = read_vars_from (os .path .join ('nibabel' , 'info.py' ))
25
20
26
21
if __name__ == "__main__" :
27
- setup (name = 'nibabel' ,
28
- version = INFO .VERSION ,
29
- cmdclass = {'build_py' : get_comrec_build ('nibabel' )})
22
+ setuptools .setup (name = 'nibabel' ,
23
+ version = INFO .VERSION ,
24
+ setup_requires = ['setuptools>=30.3.0' ],
25
+ cmdclass = {'build_py' : get_comrec_build ('nibabel' )})
You can’t perform that action at this time.
0 commit comments