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 58 59 60 61 62
|
from setuptools import find_packages, setup
def readfile(name):
with open(name) as f:
return f.read()
readme = readfile('README.rst')
changes = readfile('CHANGES.rst')
requires = [
'packaging',
'pytest',
'virtualenv',
]
tests_require = [
'coverage',
]
setup(
name='pytest-venv',
version='0.3',
description='py.test fixture for creating a virtual environment',
long_description=readme + '\n\n' + changes,
long_description_content_type='text/x-rst',
author='Michael Merickel',
author_email='michael@merickel.org',
url='https://github.com/mmerickel/pytest-venv',
packages=find_packages('src', exclude=['tests']),
package_dir={'': 'src'},
include_package_data=True,
install_requires=requires,
extras_require={
'testing': tests_require,
},
zip_safe=False,
keywords='',
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: Pytest',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Testing',
],
entry_points={
'pytest11': [
'venv = pytest_venv',
],
},
)
|