Commit f0717b1b by Dougal Matthews

Improvements to the setup.py

The template files and templatetags dir should now
be included as expected. I also added tox to test
the setup.py and versiontools to pull the version
from the init.
parent b7a96405
*.pyc
.tox
*.egg-info
*.egg
\ No newline at end of file
include LICENSE
include README.rst
include debug_toolbar_mongo/templates/*
\ No newline at end of file
# following PEP 386, versiontools will pick it up
__version__ = (0, 1, 4, "final", 0)
......@@ -2,16 +2,19 @@ from setuptools import setup, find_packages
setup(
name='django-debug-toolbar-mongo',
version='0.1.4',
version=":versiontools:debug_toolbar_mongo:",
description='MongoDB panel for the Django Debug Toolbar',
long_description=open('README.rst').read(),
author='Harry Marr',
author_email='harry@hmarr.com',
url='https://github.com/hmarr/django-debug-toolbar-mongo',
license='MIT',
packages=['debug_toolbar_mongo'],
package_data={ 'debug_toolbar_mongo': ['templates/*', 'templatetags/*'] },
packages=find_packages(exclude=('example', )),
include_package_data=True,
zip_safe=False,
setup_requires=[
'versiontools >= 1.6',
],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
......
[tox]
setupdir = .
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment