Skip to content

Commit a964493

Browse files
author
John Sirois
committed
Many big changes in pants python support along with handy new python libraries this time around!
pants: + Fix bang meta-target ~duplicate dep handling + Add the ability to override javac compilerargs for compile. + Add support for egg dependencies + Add pex self-contained binary format generated for python_binary targets + Add support for python thrift stub generation + Add pylint support + Introduce test size layering by convention in BUILD files jvm: + Fix a ZooKeeper client leak when using the get(timeout) API and a timeout occurs + Add CompatibilityCodec and support json/thrift binary serialization for ServerSets + StateMachine improvements + Generalized ObjectSizeCalculator so it correctly works for both 32-bit and 64-bit HotSpot JVM + Various checkstyle fixes + Add an installable EnumParser for @cmdline Args + Dependency upgrades: slf4j 1.6.1 and guice 3.0 python: + Restructure twitter python under (src|tests)/python/twitter + Add deprecation decorators + Add recordio library for structured log reading and writing + Add an options library that supports declaring options at point of use instead of in ~__main__ + Add glog style logging library (sapling split of 89ae581d728aecc39bde1e8843209a0998cd2b96)
1 parent 1fea5d3 commit a964493

File tree

101 files changed

+7534
-9
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+7534
-9
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
*~
2+
*#
3+
.#*
24
.DS_Store
35
.build.properties
46
.idea
@@ -10,9 +12,11 @@ codegen/classes/
1012
dist
1113
out
1214
target
15+
ivy
1316

1417
*.class
1518
*.iml
1619
*.ipr
1720
*.iws
1821
*.pyc
22+
*.hprof

3rdparty/python/BUILD

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# ==================================================================================================
2+
# Copyright 2011 Twitter, Inc.
3+
# --------------------------------------------------------------------------------------------------
4+
# Licensed to the Apache Software Foundation (ASF) under one or more contributor license
5+
# agreements. See the NOTICE file distributed with this work for additional information regarding
6+
# copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0
7+
# (the "License"); you may not use this file except in compliance with the License. You may
8+
# obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software distributed under the
13+
# License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14+
# express or implied. See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
# ==================================================================================================
17+
18+
python_library(
19+
name = 'antlr-3.1.3',
20+
dependencies = [egg("antlr_python_runtime-3.1.3-py2.6.egg")])
21+
22+
python_library(
23+
name = 'py',
24+
dependencies = [egg("py-1.4.2-py2.6.egg")])
25+
26+
python_library(
27+
name = 'pytest',
28+
dependencies = [egg("pytest-2.0.2-py2.6.egg")])
29+
30+
python_library(
31+
name = 'python-ldap',
32+
dependencies = [egg("python_ldap-*.egg")])
33+
34+
python_library(
35+
name = 'mako',
36+
dependencies = [egg("Mako-0.4.0-py2.6.egg")])
37+
38+
python_library(
39+
name = 'thrift-0.7',
40+
dependencies = [egg("Thrift-0.7.0_dev-py2.6.egg")])
41+
42+
python_library(
43+
name = 'zookeeper',
44+
dependencies = [egg("ZooKeeper-*.egg")])
151 KB
Binary file not shown.
120 KB
Binary file not shown.
43.1 KB
Binary file not shown.
24.8 KB
Binary file not shown.
167 KB
Binary file not shown.

3rdparty/python/py-1.4.2-py2.6.egg

188 KB
Binary file not shown.
171 KB
Binary file not shown.
221 KB
Binary file not shown.

0 commit comments

Comments
 (0)