Port changes to rst, fix setup.py, add manifest
This commit is contained in:
21
CHANGES.md
21
CHANGES.md
@@ -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
26
CHANGES.rst
Normal 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
6
MANIFEST.in
Normal 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
|
14
setup.py
14
setup.py
@@ -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',
|
||||
|
Reference in New Issue
Block a user