Port changes to rst, fix setup.py, add manifest

This commit is contained in:
Christopher Grebs
2014-02-24 14:13:07 +01:00
parent ec1e839f2c
commit 3b46f63798
4 changed files with 39 additions and 28 deletions

View File

@@ -1,21 +0,0 @@
# Changes
## 1.0 (unreleased)
* Nothing changed yet.
## 0.3.1 (2013-12-11)
* fix relative import in template tags
## 0.3.0 (2013-12-11)
* Rename package to django_babel
## 0.2.3 (2013-12-11)
* Rename package on PyPI
* Use GitHub as source control

26
CHANGES.rst Normal file
View File

@@ -0,0 +1,26 @@
Changes
=======
1.0 (unreleased)
----------------
* Nothing changed yet.
0.3.1 (2013-12-11)
------------------
* fix relative import in template tags
0.3.0 (2013-12-11)
------------------
* Rename package to django_babel
0.2.3 (2013-12-11)
------------------
* Rename package on PyPI
* Use GitHub as source control

6
MANIFEST.in Normal file
View File

@@ -0,0 +1,6 @@
include CHANGES.rst README.rst COPYGING
recursive-include tests *
recursive-include docs *
global-exclude *.pyc
global-exclode *.pyo
prune docs/_build

View File

@@ -1,16 +1,16 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import codecs
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
with open('README.md', 'rb') as fobj:
readme = fobj.read()
with open('CHANGES.md', 'rb') as fobj:
history = fobj.read()
def read(*parts):
filename = os.path.join(os.path.dirname(__file__), *parts)
with codecs.open(filename, encoding='utf-8') as fp:
return fp.read()
test_requires = [
@@ -50,7 +50,7 @@ class PyTest(TestCommand):
setup(
name='django-babel',
description='Utilities for using Babel in Django',
long_description=readme + '\n\n' + history,
long_description=read('README.rst') + u'\n\n' + read('CHANGES.rst'),
version='1.0-dev',
license='BSD',
author='Christopher Lenz',