-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
29 lines (27 loc) · 997 Bytes
/
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
from setuptools import setup, find_packages
import re
# https://stackoverflow.com/a/7071358/353278
VERSIONFILE="snafu/_version.py"
verstrline = open(VERSIONFILE, "rt").read()
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo = re.search(VSRE, verstrline, re.M)
if mo:
verstr = mo.group(1)
else:
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
setup(name='pysnafu',
version=verstr,
description='Generate semantic networks from fluency data',
url='https://github.com/AusterweilLab/snafu-py',
author='Jeffrey C. Zemla and The Austerweil Lab at UW-Madison',
author_email='jeffzemla@gmail.com',
keywords=['fluency', 'networks','psychology','recall'],
packages=['snafu'],
include_package_data=True,
install_requires=['numpy','networkx>=3.0','more_itertools','planarity'],
python_requires='>=3.5',
zip_safe=False,
classifiers=[
'Programming Language :: Python :: 3.5'
]
)