-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
40 lines (37 loc) · 1.34 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
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
requirements = [
"sqlalchemy",
]
with open("requirements_test.txt","r") as f:
for line in f:
if "txt" not in line and "#" not in line:
requirements.append(line)
with open("version", "r") as f:
__version__ = f.read()
setup(
author="Matthew Flamm",
name="pytest-homeassistant-custom-component",
version=__version__,
packages=find_packages(where="src"),
package_dir={"": "src"},
python_requires=">=3.12",
install_requires=requirements,
license="MIT license",
url="https://github.com/MatthewFlamm/pytest-homeassistant-custom-component",
author_email="matthewflamm0@gmail.com",
description="Experimental package to automatically extract test plugins for Home Assistant custom components",
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
classifiers=[
"Development Status :: 3 - Alpha",
"Framework :: Pytest",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Testing",
],
entry_points={"pytest11": ["homeassistant = pytest_homeassistant_custom_component.plugins"]},
)