-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
38 lines (32 loc) · 1.14 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
#!/usr/bin/env python
'''
Functional brain age (FBA) example, basic setup to pull necessary libraries
with pip (pr preferrably pip3) install
'''
from setuptools import setup, find_packages
import os
import runpy
# Get the current folder
cwd = os.path.abspath(os.path.dirname(__file__))
#Minimal functionality
requirements = [
'matplotlib', # Plotting
'numpy', # Numerical functions
'scipy', # Scientific python and signal processing
'onnxruntime'] # Performance-focused scoring engine for Open Neural Network Exchange (ONNX) models.
# Get version
versionpath = os.path.join(cwd, 'version.py')
version = runpy.run_path(versionpath)['__version__']
setup(
name='fba',
version=version,
author='Nathan Stevenson',
author_email='[email protected]', # TODO: for testing purposes, to change
description='Functional Age Brain predictions',
url='http://github.com/pausz/fba-example', # TODO: update url
keywords=['scientific', 'ai', 'prediction'],
platforms=['OS Independent'],
packages=find_packages(),
include_package_data=True,
install_requires=requirements
)