Skip to content

Commit

Permalink
Better change log, readme, setup file.
Browse files Browse the repository at this point in the history
  • Loading branch information
bartTC committed Nov 25, 2016
1 parent 6035237 commit 2a3eba5
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 41 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
==========
Changelog:
==========

v1.0 (master):

* Django 1.10 compatibility and total cleanup.
* Full Python 3 compatibility.
* Removed Pinax Group support.
* Tests.

v0.3: (2009-08-06):

* If a wikipage was not found, the view now raises a proper Http404 instead of a
(silent) HttpResponseNotFound. This gives you the ability to display a proper
404 page.
* All templates are now translatable using gettext.

v0.2 (2009-07-22):

* Edit-forms are now replaceable

.. _`django-attachments`: http://github.com/bartTC/django-attachments/
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
include LICENSE
include README.rst
include CHANGELOG
recursive-include src/wakawaka/templates/wakawaka *
recursive-include docs *
24 changes: 0 additions & 24 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,27 +115,3 @@ application into an existing project. It's alo used for the test suite::
in a Django project..

.. _virtualenvwrapper: https://virtualenvwrapper.readthedocs.io/en/latest/


Changelog:
==========

v1.0 (master):

* Django 1.10 compatibility and total cleanup.
* Full Python 3 compatibility.
* Removed Pinax Group support.
* Tests.

v0.3: (2009-08-06):

* If a wikipage was not found, the view now raises a proper Http404 instead of a
(silent) HttpResponseNotFound. This gives you the ability to display a proper
404 page.
* All templates are now translatable using gettext.

v0.2 (2009-07-22):

* Edit-forms are now replaceable

.. _`django-attachments`: http://github.com/bartTC/django-attachments/
64 changes: 47 additions & 17 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,29 +1,59 @@
#!/usr/bin/env python
from setuptools import setup, find_packages
from sys import exit

requirements = [
'django>=1.8',
]
from setuptools import find_packages, setup
from setuptools.command.test import test as TestCommand

test_requirements = [
]

class Tox(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True

def run_tests(self):
#import here, cause outside the eggs aren't loaded
import tox
errno = tox.cmdline(self.test_args)
exit(errno)

long_description = u'\n\n'.join((
open('README.rst').read(),
open('CHANGELOG').read()
))

setup(
name='django-wakawaka',
version='1.0a',
description='A super simple wiki app written in Python using the Django Framwork',
long_description=open('README.rst').read(),
version='1.0a1',
description='django-wakawka is a super simple wiki system written in Python '
'using the Django framework.',
long_description=long_description,
author='Martin Mahner',
author_email='[email protected]',
url='http://github.com/bartTC/django-wakawaka/',
url='https://github.com/bartTC/django-wakawaka/',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Framework :: Django',
],
packages=find_packages(),
package_data={
'wakawaka/': [
'static/*.*',
'templates/*.*'
]
'dpaste': ['static/*.*', 'templates/*.*'],
'docs': ['*'],
},
include_package_data=True,
install_requires=[
'django>=1.8',
],
tests_require=[
'tox>=1.6.1'
],
cmdclass={
'test': Tox
},
install_requires=requirements,
tests_require=test_requirements,
zip_safe=False,
)

0 comments on commit 2a3eba5

Please sign in to comment.