diff --git a/.gitignore b/.gitignore index 83f0300..e4f7286 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ *.db *.sqlite* _build +build diff --git a/docs/conf.py b/docs/conf.py index 834085d..4d03aff 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -16,7 +16,7 @@ import sys, os # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. -sys.path.append(os.path.abspath('..')) +sys.path.append(os.path.abspath(os.path.join('..','..'))) # django setup import settings @@ -27,7 +27,7 @@ setup_environ(settings) # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo'] +extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo','sphinxtogithub'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] diff --git a/setup.py b/setup.py new file mode 100755 index 0000000..a95819d --- /dev/null +++ b/setup.py @@ -0,0 +1,47 @@ +#!/usr/bin/env python +# vim: ai ts=4 sts=4 et sw=4 coding=utf-8 +# +# This software is derived from EAV-Django originally written and +# copyrighted by Andrey Mikhaylenko +# +# This is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with EAV-Django. If not, see . +from distutils.core import setup + +setup( + name='django-eav', + version=__import__('eav').__version__, + license = 'GNU Lesser General Public License (LGPL), Version 3', + + requires = ['python (>= 2.5)', 'django (>= 1.2)'], + provides = ['eav'], + + description='Entity-attribute-value model implementation as a reusable' + 'Django app.', + long_description=open('README').read(), + + url='http://github.com/mvpdev/django-eav', + + packages=['eav'], + + classifiers = [ + 'Development Status :: 4 - Beta', + 'Environment :: Web Environment', + 'Framework :: Django', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)', + 'Programming Language :: Python', + 'Topic :: Database', + 'Topic :: Software Development :: Libraries :: Python Modules', + ], +)