Dan O'Reilly
fc80874adf
Start work on getting text handled properly on PY3
9 years ago
Tamir Duberstein
87993d7507
assertEquals is deprecated
9 years ago
Tamir Duberstein
821fcb2ded
Use assertIsInstance
9 years ago
Tamir Duberstein
09831c8768
Clean up exception syntax
9 years ago
Tamir Duberstein
322d8939fc
Remove Python 2.5 cruft
9 years ago
Dan O'Reilly
46969b99ca
Set DYLD_LIBRARY_PATH for OSX
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Jisi Liu
b0f661181d
Down-integrate from internal branch.
...
Change-Id: Ieb7a2c2fbf35bc2a8fa65b915a5ecb68c83863e4
9 years ago
Dan O'Reilly
3791c8051a
Fix travis build
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
5de2a81b01
Improve tox.ini, install py26 for travis.
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
afa488c4d1
Remove debug code
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
416f001adc
Use tox in travis build. Tweak tox.ini
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
3bdfb4b695
Add some clarifying comments. Remove ez_setup.py.
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
9d689692d3
Make testing cpp implementation optional
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
3083d8cee7
Fix --cpp_implementation test failure. Test both pure Python and cpp implementation in tox.
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
7601551f7c
Just always uses BytseIO in text_format for now
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
7013a75b90
Disable py3* in tox
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
2621c8aefb
Get Python 2.6 working.
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
d06adbd4a4
Fix usage of assertItemsEqual on Py3
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
3d5aa6aef9
Fix some more Python 3 compat issues
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
fe7d9379df
Fixing some long/int bugs
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
981d6bf2f7
Build protobuf files in as part of tox runs.
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
833c046fb7
Fixing some tests
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Bo Yang
9f563bd0d8
Internal local modifications.
10 years ago
Bo Yang
e107e2d68e
Update version number to 3.0.0-alpha-4
10 years ago
Feng Xiao
8e1426800e
Replace the check of "../.git"
...
Checking the existence of ".git" is not the right way to check whether we
are in develop environment because we distribute source tar-balls where
such a ".git" directory does not exist. Replaced it with checking .proto
files.
10 years ago
teboring
9839c0c2c9
Update version number to 3.0.0-alpha-3
10 years ago
Bo Yang
5db217305f
down-integrate internal changes
10 years ago
Tamir Duberstein
e4f4d9fe83
Only generate protos in development
...
Fixes #333 .
10 years ago
Tamir Duberstein
5018c433ed
Use glob to simplify
10 years ago
Behzad Tabibian
2bf92b3be9
mend
10 years ago
Tamir Duberstein
21a7cf965a
Noramlize 'setup.py' to fit conventions:
...
- Comply with flake8, except for indentation width, which is 2.
- Move human-centric metadata to top of 'setup()' call.
- Add Trove classifiers for supported Python versions.
- Use 'find_packages()' + MANIFEST.in to avoid errors in listing
modules and packages.
Closes #131 and #161 .
10 years ago
Tamir Duberstein
4f5cbe6ead
Whitespace
10 years ago
Tamir Duberstein
9d9d0b70de
Don't hard-code the python path
10 years ago
Behzad Tabibian
4b4770280d
adding globals() to exec call for python3 compatibility
10 years ago
Tamir Duberstein
9f42f5f4a4
[PYTHON] Drop dependency on 'google.apputils'.
...
Use stdlib's 'unittest' instead.
10 years ago
Tamir Duberstein
dab96f19ee
[PYTHON] Remove awkward duplicate tests
...
We already run all tests with and without `--cpp_implementation`
10 years ago
Tamir Duberstein
d632bc76f1
[PYTHON] README: explain homebrew shenanigans
10 years ago
Tamir Duberstein
a46a2e9422
[PYTHON] Remove unnecessary `include_dir`
10 years ago
Tamir Duberstein
ef1b747a42
[PYTHON] Clarify API version comment
10 years ago
Josh Haberman
2bd813b1b5
Added Python to Travis build and clarified setup instructions.
10 years ago
Tamir Duberstein
8ede2817a0
Remove useless file that doesn't load
...
This file was broken in ada6556
.
10 years ago
Feng Xiao
0aa1f748bf
Update version number to 2.4.1
...
Change-Id: Ief6eccab82712be04285fc918bf0102102bbce21
10 years ago
Feng Xiao
774d630bde
Update version number to 2.5.0
...
Change-Id: Ie5114bde3574c6cb0c67d5852b4658287561a0d3
10 years ago
jesse
cd04e9b702
rename python README, and fix markdown in java and python respectively
10 years ago
Jisi Liu
4573e110b8
Fix python versions to comply with pep-0440.
...
Change-Id: Ifb4958e4f371b36f249faa466473f851697edb5c
10 years ago
Jisi Liu
8e61d323bf
Fix python package version to alpha-2.
...
Change-Id: Iae16dcae833959681a5c8e98764e5d1071e6fdcf
10 years ago
Jisi Liu
40f2df3c16
Bump the version number to 3.0.0-alpha-3-pre
...
Change-Id: I33479e529b060e4fed532a827a386d3baecc835e
10 years ago
Jisi Liu
885b612f74
Down integrate from Google internal branch for C++ and Java.
...
- Maps for C++ lite
- C++ Arena optimizations.
- Java Lite runtime code size optimization.
Change-Id: I7537a4357c1cb385d23f9e8aa7ffdfeefe079f13
10 years ago
Josh Haberman
0b70a43736
Fixes for Python/C++ implementation in open-source:
...
* Rosy hack doesn't apply (that test should be removed
for the open-source release).
* Added our own copy of parameterized.py (the open-source
version of Google Apputils doesn't contain it).
* The C++ Descriptor object didn't implement extension_ranges.
* Had to implement a hack around returning EncodeError, to
work around the module-loading behavior of the test runner.
10 years ago
Jisi Liu
ada6556785
Down integrate from Google internal.
...
Change-Id: I34d301133eea9c6f3a822c47d1f91e136fd33145
10 years ago