forked from piloubazin/nighres
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
52 lines (48 loc) · 1.73 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
from os import path
from setuptools import setup, find_packages
# from setuptools.command.develop import develop
# from setuptools.command.install import install
# from subprocess import check_call
here = path.abspath(path.dirname(__file__))
build_script = path.join(here, "build.sh")
with open('README.rst') as f:
long_description = f.read()
# # These commands run the build.sh script during pip installation
# class PostDevelopCommand(develop):
# """Post-installation for development mode."""
# def run(self):
# develop.run(self)
# check_call(build_script)
#
#
# class PostInstallCommand(install):
# """Post-installation for installation mode."""
# def run(self):
# install.run(self)
# check_call(build_script)
setup(
name='nighres',
version='1.3.0',
description='Processing tools for high-resolution neuroimaging',
long_description=long_description,
url='https://nighres.readthedocs.io/',
author='Julia M Huntenburg, Pierre-Louis Bazin, Chris Steele',
author_email='[email protected]',
license='Apache License, 2.0',
classifiers=[
'Development Status :: 4 - Beta',
'Topic :: Scientific/Engineering',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.5',
],
# cmdclass={
# 'develop': PostDevelopCommand,
# 'install': PostInstallCommand,
# },
keywords='MRI high-resolution laminar subcortex',
packages=find_packages(),
include_package_data=True,
install_requires=['numpy', 'nibabel', 'psutil'],
python_requires='>=3'
)