forked from greschd/aiida_pytest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
43 lines (40 loc) · 1.3 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
# -*- coding: utf-8 -*-
import re
import sys
from setuptools import setup, find_packages
# Get the version number
with open('./aiida_pytest/__init__.py') as f:
match_expr = "__version__[^'\"]+(['\"])([^'\"]+)"
version = re.search(match_expr, f.read()).group(2).strip()
if __name__ == '__main__':
setup(
name='aiida-pytest',
version=version,
description='Module to simplify using pytest for AiiDA plugins',
author='Dominik Gresch',
author_email='[email protected]',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Plugins',
'Framework :: AiiDA',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Topic :: Scientific/Engineering :: Physics'
],
keywords='pytest aiida workflows',
packages=find_packages(exclude=['aiida', 'plum']),
include_package_data=True,
install_requires=[
'aiida-core',
'pytest',
'temporary',
'pyyaml',
'fsc.export',
'pgtest>=1.1',
],
extras_require={
':python_version < "3"': ['chainmap', 'pathlib2']
}
)