You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2017/12/11 15:34:42 UTC
[1/2] tinkerpop git commit: Cleaned up the python build.
Repository: tinkerpop
Updated Branches:
refs/heads/master 09fb4be0f -> 6203e221d
Cleaned up the python build.
Docs were broken as a result of the jython maven plugin being disabled (it was disabled a while ago because it no longer works given authentication changes in pypi and a new plugin has not yet been released to support it). Removed some dead file coping which was no longer relevant. Included import of aenum so that docs would work - didn't seem necessary for compile. CTR
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/97bb97f3
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/97bb97f3
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/97bb97f3
Branch: refs/heads/master
Commit: 97bb97f3d19b856f2f027d61d3de23e94ae86e8e
Parents: eb69fec
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Mon Dec 11 10:31:26 2017 -0500
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Mon Dec 11 10:34:09 2017 -0500
----------------------------------------------------------------------
docs/preprocessor/awk/init-code-blocks.awk | 2 +-
gremlin-python/pom.xml | 32 +++----------------------
2 files changed, 4 insertions(+), 30 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/97bb97f3/docs/preprocessor/awk/init-code-blocks.awk
----------------------------------------------------------------------
diff --git a/docs/preprocessor/awk/init-code-blocks.awk b/docs/preprocessor/awk/init-code-blocks.awk
index 4f1c184..60696fc 100644
--- a/docs/preprocessor/awk/init-code-blocks.awk
+++ b/docs/preprocessor/awk/init-code-blocks.awk
@@ -58,7 +58,7 @@ BEGIN {
print "jython.eval('os.chdir(\"" TP_HOME "\")')"
print "jython.eval('import sys')"
print "jython.eval('sys.path.append(\"" PYTHONPATH "\")')"
- print "jython.eval('sys.path.append(\"" TP_HOME "/gremlin-python/target/test-classes/Lib\")')"
+ print "jython.eval('sys.path.append(\"" TP_HOME "/gremlin-python/target/python2/env/lib/python2.7/site-packages\")')"
print "jython.eval('from gremlin_python import statics')"
print "jython.eval('from gremlin_python.process.traversal import *')"
print "jython.eval('from gremlin_python.process.strategies import *')"
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/97bb97f3/gremlin-python/pom.xml
----------------------------------------------------------------------
diff --git a/gremlin-python/pom.xml b/gremlin-python/pom.xml
index a1aee4a..c2ae070 100644
--- a/gremlin-python/pom.xml
+++ b/gremlin-python/pom.xml
@@ -264,29 +264,6 @@ limitations under the License.
</systemPropertyVariables>
</configuration>
</plugin>
- <!--
- <plugin>
- <groupId>net.sf.mavenjython</groupId>
- <artifactId>jython-compile-maven-plugin</artifactId>
- <version>1.4</version>
- <executions>
- <execution>
- <phase>process-resources</phase>
- <goals>
- <goal>jython</goal>
- </goals>
- <configuration>
- <libraries>
- <param>aenum>=1.4.5</param>
- <param>tornado>=4.4.1</param>
- <param>six>=1.10.0</param>
- <param>futures>=3.0.5</param>
- </libraries>
- </configuration>
- </execution>
- </executions>
- </plugin>
- -->
<!-- need to create python-reports directory at this point or else pytest can't write the report to it -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -301,7 +278,6 @@ limitations under the License.
<configuration>
<tasks>
<mkdir dir="${project.build.directory}/python-reports"/>
- <mkdir dir="${project.build.directory}/python/env"/>
<mkdir dir="${project.build.directory}/python-packaged/env"/>
</tasks>
</configuration>
@@ -341,7 +317,7 @@ limitations under the License.
</exec>
<exec dir="${project.build.directory}/python2" executable="env/bin/pip"
failonerror="true">
- <arg line="install wheel radish-bdd PyHamcrest"/>
+ <arg line="install wheel radish-bdd PyHamcrest aenum"/>
</exec>
<exec dir="${project.build.directory}/python3" executable="virtualenv"
failonerror="true">
@@ -349,7 +325,7 @@ limitations under the License.
</exec>
<exec dir="${project.build.directory}/python3" executable="env/bin/pip"
failonerror="true">
- <arg line="install wheel radish-bdd PyHamcrest"/>
+ <arg line="install wheel radish-bdd PyHamcrest aenum"/>
</exec>
<exec dir="${project.build.directory}/python-packaged" executable="virtualenv"
failonerror="true">
@@ -359,9 +335,6 @@ limitations under the License.
failonerror="true">
<arg line="install wheel"/>
</exec>
- <copy todir="${project.build.directory}/jython">
- <fileset dir="src/main/jython"/>
- </copy>
</tasks>
</configuration>
</execution>
@@ -376,6 +349,7 @@ limitations under the License.
<exec executable="env/bin/python" dir="${project.build.directory}/python2"
failonerror="true">
<env key="PYTHONPATH" value=""/>
+ <!-- oddly the "build-lib" needs to be in place or else docs won't generate -->
<arg line="setup.py build --build-lib ${project.build.outputDirectory}/Lib"/>
</exec>
</target>
[2/2] tinkerpop git commit: Merge branch 'tp32'
Posted by sp...@apache.org.
Merge branch 'tp32'
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/6203e221
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/6203e221
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/6203e221
Branch: refs/heads/master
Commit: 6203e221dbe7412c813a27f4e5ba911c0c0abb84
Parents: 09fb4be 97bb97f
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Mon Dec 11 10:34:25 2017 -0500
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Mon Dec 11 10:34:25 2017 -0500
----------------------------------------------------------------------
docs/preprocessor/awk/init-code-blocks.awk | 2 +-
gremlin-python/pom.xml | 32 +++----------------------
2 files changed, 4 insertions(+), 30 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/6203e221/docs/preprocessor/awk/init-code-blocks.awk
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/6203e221/gremlin-python/pom.xml
----------------------------------------------------------------------