Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

prep for 0.2a4

  • Loading branch information...
commit d7f2402c95d34f20a38d384fba65664d2ed4eb8c 1 parent 4f9ba28
@mcdonc mcdonc authored
Showing with 40 additions and 14 deletions.
  1. +2 −2 CHANGES.txt
  2. +37 −11 docs/conf.py
  3. +1 −1  setup.py
View
4 CHANGES.txt
@@ -1,5 +1,5 @@
-Next release
-------------
+0.2a4 (2012-04-23)
+------------------
- Add ``SessionFileUploadTempStore`` (a Deform FileUploadTempStore
implementation that uses the Pyramid sessioning machinery and a temporary
View
48 docs/conf.py
@@ -19,16 +19,42 @@
# make it absolute, like shown here.
#sys.path.append(os.path.abspath('some/directory'))
-parent = os.path.dirname(os.path.dirname(__file__))
-sys.path.append(os.path.abspath(parent))
-wd = os.getcwd()
-os.chdir(parent)
-os.system('%s setup.py test -q' % sys.executable)
-os.chdir(wd)
+# Add and use Pylons theme
+if 'sphinx-build' in ' '.join(sys.argv): # protect against dumb importers
+ from subprocess import call, Popen, PIPE
+
+ p = Popen('which git', shell=True, stdout=PIPE)
+ git = p.stdout.read().strip()
+ cwd = os.getcwd()
+ _themes = os.path.join(cwd, '_themes')
+
+ if not os.path.isdir(_themes):
+ call([git, 'clone', 'git://github.com/Pylons/pylons_sphinx_theme.git',
+ '_themes'])
+ else:
+ os.chdir(_themes)
+ call([git, 'checkout', 'master'])
+ call([git, 'pull'])
+ os.chdir(cwd)
+
+ sys.path.append(os.path.abspath('_themes'))
+
+ parent = os.path.dirname(os.path.dirname(__file__))
+ sys.path.append(os.path.abspath(parent))
+ wd = os.getcwd()
+ os.chdir(parent)
+ os.system('%s setup.py test -q' % sys.executable)
+ os.chdir(wd)
+
+ for item in os.listdir(parent):
+ if item.endswith('.egg'):
+ sys.path.append(os.path.join(parent, item))
-for item in os.listdir(parent):
- if item.endswith('.egg'):
- sys.path.append(os.path.join(parent, item))
+html_theme_path = ['_themes']
+html_theme = 'pyramid'
+html_theme_options = dict(
+ github_url='https://github.com/Pylons/pyramid_deform',
+ )
# General configuration
# ---------------------
@@ -48,13 +74,13 @@
# General substitutions.
project = 'pyramid_deform'
-copyright = '2010, Agendaless Consulting'
+copyright = '2012, Agendaless Consulting'
# The default replacements for |version| and |release|, also used in various
# other places throughout the built documents.
#
# The short X.Y version.
-version = '0.1.6'
+version = '0.2a4'
# The full version, including alpha/beta/rc tags.
release = version
View
2  setup.py
@@ -12,7 +12,7 @@
#
##############################################################################
-__version__ = '0.2a4dev'
+__version__ = '0.2a4'
import os
Please sign in to comment.
Something went wrong with that request. Please try again.