-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
57 lines (49 loc) · 1.47 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
53
54
55
56
57
import os
from pathlib import Path
from pkg_resources.extern.packaging.version import Version
from setuptools import setup
# a version must be PEP 440 compliant
__version__ = Version("0.4.dev0")
def cwd() -> Path:
return Path(os.path.dirname(__file__))
def read(path: str) -> str:
filepath: Path = cwd() / path
with open(filepath.absolute(), "r", encoding="utf-8") as f:
return f.read()
setup(
name="pytest-crate",
version=str(__version__),
description="Manages CrateDB instances during your integration tests",
long_description=read("README.rst"),
author="Christian Haudum",
author_email="[email protected]",
url="https://github.com/chaudum/pytest-crate",
packages=["pytest_crate"],
install_requires=[
"cr8",
"pytest>=4.0",
],
extras_require={
"develop": [
"pytest-flake8",
"pytest-mypy",
"pytest-isort",
],
},
entry_points={
"pytest11": [
"crate=pytest_crate.plugin:crate",
],
},
classifiers=[
"Development Status :: 3 - Alpha",
"Framework :: Pytest",
"License :: OSI Approved :: Apache Software License",
"Operating System :: Unix",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Testing",
"Topic :: Database",
],
)