Skip to content

Commit

Permalink
Update for readthedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
jssuzanne committed Jun 27, 2016
1 parent 3d8a58a commit cb39688
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
3 changes: 3 additions & 0 deletions doc-requirements.txt
@@ -1,2 +1,5 @@
WebTest
sphinx_bootstrap_theme
anyblok
WebTest
sphinx_bootstrap_theme
14 changes: 9 additions & 5 deletions setup.py
Expand Up @@ -17,13 +17,17 @@
]

here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as readme:
with open(os.path.join(here, 'README.rst'), 'r', encoding='utf-8') as readme:
README = readme.read()

with open(os.path.join(here, 'doc', 'FRONT.rst')) as front:
with open(
os.path.join(here, 'doc', 'FRONT.rst'), 'r', encoding='utf-8'
) as front:
FRONT = front.read()

with open(os.path.join(here, 'doc', 'CHANGES.rst')) as change:
with open(
os.path.join(here, 'doc', 'CHANGES.rst'), 'r', encoding='utf-8'
) as change:
CHANGE = change.read()

console_scripts = [
Expand All @@ -42,12 +46,12 @@
setup(
name="anyblok_pyramid",
version=version,
author="ean-Sébastien Suzanne",
author="Jean-Sébastien Suzanne",
author_email="jssuzanne@anybox.fr",
description="Web Server Pyramid for AnyBlok",
license="MPL2",
long_description=README + '\n' + FRONT + '\n' + CHANGE,
url="https://bitbucket.org/jsuzanne/anyblok_pyramid",
url="http://docs.anyblok-pyramid.anyblok.org/" + version,
packages=find_packages(),
zip_safe=False,
include_package_data=True,
Expand Down

0 comments on commit cb39688

Please sign in to comment.