-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
executable file
·36 lines (30 loc) · 1.16 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
from setuptools import setup
import re
import ast
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('mockito/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
setup(name='mockito',
version=version,
packages=['mockito'],
url='https://github.com/kaste/mockito-python',
maintainer='herr.kaste',
maintainer_email='[email protected]',
license='MIT',
description='Spying framework',
long_description=open('README.rst').read(),
python_requires='>=3.7',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Testing',
'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',
])