1import os 2from setuptools import setup, find_packages 3 4 5with open("README.md", "r") as fh: 6 long_description = fh.read() 7 8 9def local_file(name): 10 return os.path.relpath(os.path.join(os.path.dirname(__file__), name)) 11 12SOURCE = local_file("src") 13 14__version__ = None 15with open(local_file("src/pytest_mutagen/_version.py")) as o: 16 exec(o.read()) 17assert __version__ is not None 18 19 20setup( 21 name="pytest-mutagen", 22 version=__version__, 23 author="Timothee Paquatte <timothee.paquatte@polytechnique.edu>, Harrison Goldstein <hgo@seas.upenn.edu>", 24 author_email="timothee.paquatte@polytechnique.edu", 25 description="Add the mutation testing feature to pytest", 26 long_description=long_description, 27 long_description_content_type="text/markdown", 28 url="https://github.com/hgoldstein95/pytest-mutagen", 29 packages=find_packages(SOURCE), 30 package_dir={"": SOURCE}, 31 license="MIT", 32 classifiers=[ 33 "Programming Language :: Python :: 3", 34 "Programming Language :: Python :: 3 :: Only", 35 "Programming Language :: Python :: 3.6", 36 "Programming Language :: Python :: 3.7", 37 "Programming Language :: Python :: 3.8", 38 "License :: OSI Approved :: MIT License", 39 "Operating System :: OS Independent", 40 'Topic :: Software Development :: Testing', 41 'Intended Audience :: Developers', 42 ], 43 entry_points={"pytest11": ["mutagen = pytest_mutagen.plugin", ]}, 44 python_requires='>=3.6', 45 install_requires=['pytest>=5.4', ], 46 keywords="python testing mutation mutant mutagen test", 47) 48