commit b1fc79570b4db3ae5b935e898617b71b1f1ba635 Author: Robert Collins Date: Fri Nov 21 07:50:36 2014 +1300 Basic boilerplate. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..694c362 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*~ +.*.sw? +*.egg-info +*.pyc diff --git a/.testr.conf b/.testr.conf new file mode 100644 index 0000000..a7167a7 --- /dev/null +++ b/.testr.conf @@ -0,0 +1,4 @@ +[DEFAULT] +test_command=${PYTHON:-python} -m subunit.run discover $LISTOPT $IDOPTION +test_id_option=--load-list $IDFILE +test_list_option=--list diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..c4e1037 --- /dev/null +++ b/README.rst @@ -0,0 +1,5 @@ +A backport of traceback to older supported Pythons. + + >>> import traceback2 as traceback + +Profit. diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..e69de29 diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..273cb11 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,34 @@ +[metadata] +name = traceback2 +version = 0.0.1 +summary = Backports of the traceback module +description-file = + README.rst +author = Testing-cabal +author-email = testing-cabal@lists.launchpad.net +home-page = https://github.com/testing-cabal/traceback2 +classifier = + Development Status :: 6 - Mature + Intended Audience :: Developers + License :: OSI Approved :: Python Software Foundation License + Operating System :: OS Independent + Programming Language :: Python + Programming Language :: Python :: 2 + Programming Language :: Python :: 2.6 + Programming Language :: Python :: 2.7 + Programming Language :: Python :: 3 + Programming Language :: Python :: 3.2 + Programming Language :: Python :: 3.3 + Programming Language :: Python :: 3.4 + Topic :: Software Development + +[files] +packages = + traceback2 + +[wheel] +universal = 1 + +[pbr] +autodoc_index_modules = 0 +warnerrors = true diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..31b64ee --- /dev/null +++ b/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['pbr'], + pbr=True) + diff --git a/test-requirements.txt b/test-requirements.txt new file mode 100644 index 0000000..9a23970 --- /dev/null +++ b/test-requirements.txt @@ -0,0 +1 @@ +unittest2 diff --git a/traceback2/__init__.py b/traceback2/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/traceback2/tests/__init__.py b/traceback2/tests/__init__.py new file mode 100644 index 0000000..e69de29