|
1 | | -from setuptools import setup # type: ignore |
| 1 | +from setuptools import setup |
| 2 | +from setuptools import find_packages |
| 3 | +import re |
| 4 | +from pathlib import Path |
2 | 5 |
|
3 | | -setup() |
| 6 | + |
| 7 | +with Path("Readme.rst").open(encoding="utf-8") as fh: |
| 8 | + long_description = fh.read() |
| 9 | + |
| 10 | +with (Path(__file__).resolve().parent / "src" / "DataDriver" / "DataDriver.py").open(encoding="utf-8") as f: |
| 11 | + VERSION = re.search('\n__version__ = "(.*)"', f.read()).group(1) |
| 12 | + |
| 13 | +setup( |
| 14 | + name="robotframework-datadriver", |
| 15 | + version=VERSION, |
| 16 | + author="René Rohner(Snooz82)", |
| 17 | + author_email="snooz@posteo.de", |
| 18 | + description="A library for Data-Driven Testing.", |
| 19 | + long_description=long_description, |
| 20 | + long_description_content_type="text/x-rst", |
| 21 | + url="https://github.com/Snooz82/robotframework-datadriver", |
| 22 | + package_dir={"": "src"}, |
| 23 | + packages=find_packages("src"), |
| 24 | + classifiers=[ |
| 25 | + "Programming Language :: Python :: 3", |
| 26 | + "Programming Language :: Python :: 3.6", |
| 27 | + "Programming Language :: Python :: 3.7", |
| 28 | + "Programming Language :: Python :: 3.8", |
| 29 | + "Programming Language :: Python :: 3.9", |
| 30 | + "Programming Language :: Python :: 3.10", |
| 31 | + "Programming Language :: Python :: 3.11", |
| 32 | + "License :: OSI Approved :: Apache Software License", |
| 33 | + "Operating System :: OS Independent", |
| 34 | + "Topic :: Software Development :: Testing", |
| 35 | + "Topic :: Software Development :: Testing :: Acceptance", |
| 36 | + "Framework :: Robot Framework", |
| 37 | + ], |
| 38 | + install_requires=["robotframework >= 4.0.2", "docutils", "Pygments"], |
| 39 | + extras_require={"xls": ["pandas", "xlrd >= 1.2.0", "openpyxl"]}, |
| 40 | + python_requires=">=3.7.12", |
| 41 | +) |
0 commit comments