Skip to content

Commit

Permalink
read requirements.txt from setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban committed Mar 11, 2016
1 parent bb7e7b4 commit cb7c26a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
9 changes: 6 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
six
lockfile
numpy
nibabel
six
pandas
nibabel
nitime
nipype
lockfile
seaborn
pyPdf2
xhtml2pdf
9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# @Author: oesteban
# @Date: 2015-11-19 16:44:27
# @Last Modified by: oesteban
# @Last Modified time: 2016-03-11 13:45:03
# @Last Modified time: 2016-03-11 13:49:49
""" MRIQC setup script """
import os
import sys
Expand All @@ -16,6 +16,10 @@ def main():
from glob import glob
from setuptools import setup

req_list = []
with open('requirements.txt', 'r') as rfile:
req_list = rfile.readlines()

setup(
name='mriqc',
version=__version__,
Expand All @@ -29,8 +33,7 @@ def main():
entry_points={'console_scripts': ['mriqc=mriqc.run_mriqc:main',]},
packages=['mriqc', 'mriqc.workflows', 'mriqc.interfaces', 'mriqc.reports', 'mriqc.utils'],
package_data={'mriqc': ['reports/html/*.html', 'data/*.txt']},
install_requires=['numpy', 'six', 'pandas', 'nibabel', 'nitime', 'nipype',
'lockfile', 'seaborn', 'pyPdf2', 'xhtml2pdf'],
install_requires=req_list,
zip_safe=False,
classifiers=[
'Development Status :: 3 - Alpha',
Expand Down

0 comments on commit cb7c26a

Please sign in to comment.