-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (35 loc) · 1.07 KB
/
setup.py
File metadata and controls
42 lines (35 loc) · 1.07 KB
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
from setuptools import setup, find_packages
pkg = __import__('reprise')
author = pkg.__author__
email = pkg.__author_email__
version = pkg.__version__
classifiers = pkg.__classifiers__
description = pkg.__description__
def load_requirements(fn):
"""Read a requirements file and create a list that can be used in setup."""
with open(fn, 'r') as f:
return [x.rstrip() for x in list(f) if x and not x.startswith('#')]
setup(
name='reprise',
version=version,
license='MIT',
description=description,
long_description=open('README.rst', encoding="utf-8").read(),
author=author,
author_email=email,
url='https://github.com/CognitiveModeling/reprise',
classifiers=classifiers,
platforms='Linux',
packages=find_packages(),
install_requires=load_requirements('requirements.txt'),
extras_require={
'tests': [
'pylint',
'pytest',
'pycodestyle'],
'docs': [
'sphinx >= 1.4',
'sphinx_rtd_theme',
'numpydoc',
'easydev==0.9.35']},
)