forked from dmanchon/pydump
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·45 lines (39 loc) · 1.21 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
#!/usr/bin/env python
from distutils.core import setup
DESCRIPTION = """
Pydump allows post-mortem debugging for Python programs.
It writes the traceback of an exception into a file and can later load
it in a Python debugger.
Works with the built-in pdb and with other popular debuggers
(pudb, ipdb and pdbpp).
"""
# get version without importing
__version__ = 'unknown'
for line in open('pydump.py'):
if line.startswith('__version__ = '):
exec(line)
break
setup(
name='pydump',
version=__version__,
description='Post-mortem debugging for Python programs',
long_description=DESCRIPTION,
author='Eli Finer',
license='MIT',
author_email='eli.finer@gmail.com',
url='https://github.com/gooli/pydump',
package_dir={'pydump':'.'},
packages=['pydump'],
scripts=['pydump'],
install_requires=['dill'],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Debuggers'
]
)