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
Jisi Liu
7d8564f220
Update version number to 3.0.0-alpha-2
...
Change-Id: Icecb25db34ae5e6d5142a2d75ca7216ba018abb2
10 years ago
zex
a4f634ce74
fix raise syntax issues for py3,
...
fix except syntax issue for py3
10 years ago
Feng Xiao
ae11803d77
Delete unused files.
10 years ago
Tres Seaver
daeaa6a28b
Declare explicit support for Python 3.3 and 3.4.
10 years ago
Tres Seaver
f1eae1a168
Test under tox: Python 2.6, 2.7, 3.3, 3.4.
10 years ago
Tres Seaver
a2abc947c0
Straddle Python 2.6, 2.7, 3.3, 3.4.
10 years ago
Tres Seaver
3d5460dd90
Don't check in derived objects.
10 years ago
Tres Seaver
71edc31f23
Compatibility with Python2.6 unittest.
10 years ago
Tres Seaver
47ee4d37c1
Use 'io.BytesIO' rather than 'cStringIO.StringIO'.
10 years ago
Tres Seaver
d25e6686d9
Typo.
10 years ago
Tres Seaver
fec1b8e444
Overlooked dependency.
10 years ago
Tres Seaver
7ee25830c6
Drop dependency on 'google.apputils'.
...
Use stdlib's 'unittest' instead.
10 years ago
Tres Seaver
f336d4b7a5
Prepare for Python2-Python3 straddle.
...
- Remove PY25 cruft.
- Selectively apply cleanups from 'python-modernize':
- New exception syntax.
- Use 'six' to handle module renames.
- Use 'six' to handle text / binary stuff.
This PR covers most of the work from #66 which falls inside `python`
(rather than the Python code generation stuff in 'src').
10 years ago
Tres Seaver
7c7f06c50e
Update to new canonical 'ez_setup.py'.
...
Downloaded from https://bootstrap.pypa.io/ez_setup.py .
10 years ago
Tres Seaver
e17f78bbbf
Noramlize 'setup.py' to fit conventions:
...
- 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.
10 years ago
Matt Iversen
4186d4c9c9
Update python version / setuptools instructions
...
Reflect the change that protobuf should now only be supporting 2.6+ (I'd guess note python 3.x+ when its supported in implementation)
Refer to the Python Packaging User Guide for installing setuptools (and pip) instead of out of date telecommunity guide.
10 years ago
Adal Chiriliuc
4f0170d465
Updated __version__
10 years ago
Feng Xiao
cb0ba5f04c
Update version number to v3.0.0-pre
10 years ago
Feng Xiao
81a630c66e
Update version number to v3.0.0-alpha-1
10 years ago
Feng Xiao
d1ec493a12
Fix Python C++ implementation build issues:
...
1. Haven't included the include path for "config.h".
2. Use of C++11 auto keyword.
10 years ago
Feng Xiao
99aa0f9e8f
Down-integrate from internal code base.
10 years ago
Feng Xiao
f157a5651c
Down-integrate from internal code base (C++ maps support).
10 years ago
Feng Xiao
6ef984af4b
Down-integrate from internal code base.
10 years ago
Veres Lajos
c76807211a
typo fixes - https://github.com/vlajos/misspell_fixer
10 years ago
Feng Xiao
df5481c6b3
Update version number to 2.6.2-pre.
10 years ago
Feng Xiao
bba83652e1
Update version number to 2.6.1.
10 years ago
Dwayne Litzenberger
b460610b69
Omit google-apputils dependency under Python 3
...
Temporary change until a py3k-compatible google-apputils is released.
10 years ago