mirror of https://github.com/cool-RR/PySnooper.git
Bring back setup.py for universal wheels
This commit is contained in:
parent
e1a927311b
commit
23d3e43f0e
|
@ -0,0 +1,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='ram@rachum.com',
|
||||
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',
|
||||
],
|
||||
)
|
Loading…
Reference in New Issue