forked from NILAB-UvA/bidsify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·43 lines (37 loc) · 1.2 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
import os
from setuptools import setup, find_packages
PACKAGES = find_packages()
# Get version and release info, which is all stored in shablona/version.py
ver_file = os.path.join('bidsify', 'version.py')
with open(ver_file) as f:
exec(f.read())
# Long description will go up on the pypi page
with open('README.rst') as f:
LONG_DESCRIPTION = f.read()
with open('requirements.txt') as f:
REQUIRES = f.readlines()
opts = dict(name=NAME,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
url=URL,
download_url=DOWNLOAD_URL,
license=LICENSE,
classifiers=CLASSIFIERS,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
platforms=PLATFORMS,
version=VERSION,
packages=PACKAGES,
package_data=PACKAGE_DATA,
install_requires=REQUIRES,
requires=REQUIRES,
entry_points={
'console_scripts': [
'bidsify = bidsify.main:run_cmd',
]
}
)
if __name__ == '__main__':
setup(**opts)