You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by tv...@apache.org on 2013/05/08 17:35:47 UTC

[50/50] git commit: setup.py proxy script for RTD

setup.py proxy script for RTD

Signed-off-by: Tim Van Steenburgh <tv...@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/e64a52ed
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/e64a52ed
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/e64a52ed

Branch: refs/heads/tv/docs
Commit: e64a52ededdea4b4954271c14e7728eab12cbbef
Parents: 8e9c17d
Author: Tim Van Steenburgh <tv...@gmail.com>
Authored: Wed May 8 15:34:18 2013 +0000
Committer: Tim Van Steenburgh <tv...@gmail.com>
Committed: Wed May 8 15:34:18 2013 +0000

----------------------------------------------------------------------
 setup.py |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/e64a52ed/setup.py
----------------------------------------------------------------------
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..78c6258
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,29 @@
+# -*- coding: utf-8 -*-
+
+#       Licensed to the Apache Software Foundation (ASF) under one
+#       or more contributor license agreements.  See the NOTICE file
+#       distributed with this work for additional information
+#       regarding copyright ownership.  The ASF licenses this file
+#       to you under the Apache License, Version 2.0 (the
+#       "License"); you may not use this file except in compliance
+#       with the License.  You may obtain a copy of the License at
+#
+#         http://www.apache.org/licenses/LICENSE-2.0
+#
+#       Unless required by applicable law or agreed to in writing,
+#       software distributed under the License is distributed on an
+#       "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#       KIND, either express or implied.  See the License for the
+#       specific language governing permissions and limitations
+#       under the License.
+
+"""
+This file is here exclusively for readthedocs.org support. RTD expects
+a setup.py file in the root of the project.
+"""
+
+import os
+import subprocess
+
+os.chdir(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'Allura'))
+subprocess.call(["python", "setup.py", "develop"])