-
Notifications
You must be signed in to change notification settings - Fork 952
/
setup.py
48 lines (44 loc) · 1.64 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
41
42
43
44
45
46
47
48
# Copyright 2019 Ram Rachum and collaborators.
# This program is distributed under the MIT license.
import setuptools
import re
def read_file(filename):
with open(filename) as file:
return file.read()
version = re.search("__version__ = '([0-9.]*)'",
read_file('pysnooper/__init__.py')).group(1)
setuptools.setup(
name='PySnooper',
version=version,
author='Ram Rachum',
author_email='[email protected]',
description="A poor man's debugger for Python.",
long_description=read_file('README.md'),
long_description_content_type='text/markdown',
url='https://github.com/cool-RR/PySnooper',
packages=setuptools.find_packages(exclude=['tests*']),
install_requires=read_file('requirements.in'),
extras_require={
'tests': {
'pytest',
},
},
classifiers=[
'Environment :: Console',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'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 :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Software Development :: Debuggers',
],
)