forked from wayfair/pytest-eucalyptus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (44 loc) · 1.68 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
50
51
52
"""
Setup script.
"""
import io
import ast
import re
from setuptools import setup, find_packages
_version_re = re.compile(r"__version__\s+=\s+(.*)")
if __name__ == '__main__':
with \
open('requirements.txt') as requirements, \
open('test_requirements.txt') as test_requirements, \
open("pytest_eucalyptus/__init__.py", "rb") as f, \
io.open('README.md', encoding='utf-8') as readme:
setup(
name='pytest_eucalyptus',
version = str(ast.literal_eval(_version_re.search(f.read().decode("utf-8")).group(1))),
description='Pytest Plugin for BDD',
author='Dennis Miasoutov',
author_email='[email protected]',
url='https://github.com/wayfair/pytest-eucalyptus',
long_description=readme.read(),
long_description_content_type='text/markdown',
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Framework :: Pytest',
],
packages=find_packages(exclude=['tests']),
include_package_data=True,
entry_points={
'pytest11': [
'pytest_eucalyptus = pytest_eucalyptus.plugin',
],
},
extras_require={
'tests_require': test_requirements.readlines(),
},
setup_requires=['setuptools_scm'],
install_requires=requirements.readlines(),
test_suite='tests',
tests_require=test_requirements.readlines(),
)