cd "$HOME/tmp/$project_name" &&
mv project "$project_name" &&
-replace '{project}' "$project_name" .gitignore README.txt \
+replace '{project}' "$project_name" .gitignore README.rst \
devscripts/README.html docs/genapidocs docs/install.rst \
mk-distr publish-docs setup.py tox.ini &&
--- /dev/null
+=========
+{project}
+=========
+
+Author: Oleg Broytman <phd@phdru.name>.
+
+Copyright (C) 2017 PhiloSoft Design.
+
+License: GPL.
+
+This is {project}.
+
+| Home Page: http://phdru.name/Software/Python/{project}/
+| Documentation: http://phdru.name/Software/Python/{project}/docs/
+| Git repo: http://git.phdru.name/{project}.git/
+| GitHub repo: https://github.com/phdru/{project}
+| Issue tracker: https://github.com/phdru/{project}/issues
+++ /dev/null
-Broytman {project}, Copyright (C) 2017 PhiloSoft Design
-Author: Oleg Broytman <phd@phdru.name>
-License: GPL
-
-This is {project}.
-
-Home Page: http://phdru.name/Software/Python/{project}/
-Documentation: http://phdru.name/Software/Python/{project}/docs/
-Git repo: http://git.phdru.name/{project}.git/
-GitHub repo: https://github.com/phdru/{project}
-Issue tracker: https://github.com/phdru/{project}/issues
setup(name='{project}',
version=__version__,
description='Broytman {project}',
- long_description=open('README.txt', 'rU').read(),
+ long_description=open('README.rst', 'rU').read(),
author='Oleg Broytman',
author_email='phd@phdru.name',
url='http://phdru.name/Software/Python/{project}',
fi
fix_files devscripts/README.html \
docs/conf.py docs/genapidocs docs/index.rst docs/install.rst \
- README.txt mk-distr setup.py tox.ini
+ README.rst mk-distr setup.py tox.ini
done