forked from neurostuff/NiMARE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·49 lines (41 loc) · 1.29 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
""" NiMARE setup script """
import os.path as op
from glob import glob
from inspect import currentframe, getfile
from io import open
from setuptools import find_packages, setup
import versioneer
def main():
""" Install entry-point """
ver_file = op.join("nimare", "info.py")
with open(ver_file) as f:
exec(f.read())
vars = locals()
root_dir = op.dirname(op.abspath(getfile(currentframe())))
cmdclass = versioneer.get_cmdclass()
setup(
name=vars["PACKAGENAME"],
version=vars["VERSION"],
description=vars["DESCRIPTION"],
long_description=vars["LONGDESC"],
author=vars["AUTHOR"],
author_email=vars["EMAIL"],
maintainer=vars["MAINTAINER"],
maintainer_email=vars["EMAIL"],
url=vars["URL"],
license=vars["LICENSE"],
classifiers=vars["CLASSIFIERS"],
download_url=vars["DOWNLOAD_URL"],
# Dependencies handling
install_requires=vars["REQUIRES"],
tests_require=vars["TESTS_REQUIRES"],
extras_require=vars["EXTRA_REQUIRES"],
entry_points=vars["ENTRY_POINTS"],
packages=find_packages(exclude=("tests",)),
zip_safe=False,
cmdclass=cmdclass,
)
if __name__ == "__main__":
main()