Skip to content

Commit

Permalink
protobuf 3.0.0b2 compiled protos
Browse files Browse the repository at this point in the history
  • Loading branch information
rossengeorgiev committed May 7, 2016
1 parent 9736537 commit 947766a
Show file tree
Hide file tree
Showing 59 changed files with 7,859 additions and 4,575 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ cache: pip
sudo: false
python:
- "2.7"
# - "3.3"
# - "3.4"
# - "3.5"
- "3.3"
- "3.4"
- "3.5"
install:
- make init
- pip install coveralls
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,15 @@ upload: dist register
pb_fetch:
wget -nv --show-progress -N -P ./protobufs/ -i protobuf_list.txt
rename -v '.steamclient' '' protobufs/*.proto
sed -i '1s/^/syntax = "proto2"\;\n/' protobufs/*.proto
sed -i 's/cc_generic_services/py_generic_services/' protobufs/*.proto
sed -i 's/\.steamclient\.proto/.proto/' protobufs/*.proto

pb_compile:
for filepath in `ls ./protobufs/*.proto`; do \
protoc --python_out ./steam/protobufs/ --proto_path=/usr/include --proto_path=./protobufs "$$filepath"; \
./tools/protoc3 --python_out ./steam/protobufs/ --proto_path=./tools/protobuf/src --proto_path=./protobufs "$$filepath"; \
done;
sed -i 's/^import /import steam.protobufs./' steam/protobufs/*_pb2.py

pb_clear:
rm -f ./protobufs/*.proto ./steam/protobufs/*_pb2.py
Expand Down
14 changes: 7 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
|pypi| |license| |coverage| |scru| |master_build|
|license| |coverage| |scru| |master_build|

Module for interacting with various Steam_ features.

Expand Down Expand Up @@ -50,14 +50,14 @@ To run for ``python 2.7``, ``3.3``, ``3.4`` and ``pypy``, assuming you have them
:target: https://pypi.python.org/pypi/steam
:alt: MIT License

.. |coverage| image:: https://img.shields.io/coveralls/ValvePython/steam/master.svg?style=flat
:target: https://coveralls.io/r/ValvePython/steam?branch=master
.. |coverage| image:: https://img.shields.io/coveralls/ValvePython/steam/py3.svg?style=flat
:target: https://coveralls.io/r/ValvePython/steam?branch=py3
:alt: Test coverage

.. |scru| image:: https://scrutinizer-ci.com/g/ValvePython/steam/badges/quality-score.png?b=master
:target: https://scrutinizer-ci.com/g/ValvePython/steam/?branch=master
.. |scru| image:: https://scrutinizer-ci.com/g/ValvePython/steam/badges/quality-score.png?b=py3
:target: https://scrutinizer-ci.com/g/ValvePython/steam/?branch=py3
:alt: Scrutinizer score

.. |master_build| image:: https://img.shields.io/travis/ValvePython/steam/master.svg?style=flat&label=master
:target: http://travis-ci.org/ValvePython/steam
.. |master_build| image:: https://img.shields.io/travis/ValvePython/steam/master.svg?style=flat&label=py3
:target: http://travis-ci.org/ValvePython/steam/branches
:alt: Build status of master branch
1 change: 1 addition & 0 deletions protobufs/content_manifest.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
option optimize_for = SPEED;
option py_generic_services = false;

Expand Down
1 change: 1 addition & 0 deletions protobufs/encrypted_app_ticket.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
option optimize_for = SPEED;
option py_generic_services = false;

Expand Down
1 change: 1 addition & 0 deletions protobufs/gc.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
enum GCProtoBufMsgSrc {
GCProtoBufMsgSrc_Unspecified = 0;
GCProtoBufMsgSrc_FromSystem = 1;
Expand Down
1 change: 1 addition & 0 deletions protobufs/steammessages_base.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
import "google/protobuf/descriptor.proto";

option optimize_for = SPEED;
Expand Down
1 change: 1 addition & 0 deletions protobufs/steammessages_broadcast.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
import "steammessages_unified_base.proto";

option py_generic_services = true;
Expand Down
1 change: 1 addition & 0 deletions protobufs/steammessages_clientserver.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
import "steammessages_base.proto";
import "encrypted_app_ticket.proto";

Expand Down
1 change: 1 addition & 0 deletions protobufs/steammessages_clientserver_2.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
import "steammessages_base.proto";

option optimize_for = SPEED;
Expand Down
1 change: 1 addition & 0 deletions protobufs/steammessages_cloud.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
import "steammessages_unified_base.proto";

option py_generic_services = true;
Expand Down
1 change: 1 addition & 0 deletions protobufs/steammessages_credentials.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
import "steammessages_unified_base.proto";

option py_generic_services = true;
Expand Down
1 change: 1 addition & 0 deletions protobufs/steammessages_depotbuilder.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
import "steammessages_unified_base.proto";

option py_generic_services = true;
Expand Down
1 change: 1 addition & 0 deletions protobufs/steammessages_deviceauth.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
import "steammessages_unified_base.proto";

option py_generic_services = true;
Expand Down
1 change: 1 addition & 0 deletions protobufs/steammessages_econ.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
import "steammessages_unified_base.proto";

option py_generic_services = true;
Expand Down
1 change: 1 addition & 0 deletions protobufs/steammessages_gamenotifications.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
import "steammessages_unified_base.proto";

option py_generic_services = true;
Expand Down
1 change: 1 addition & 0 deletions protobufs/steammessages_gameservers.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
import "steammessages_unified_base.proto";

option py_generic_services = true;
Expand Down
1 change: 1 addition & 0 deletions protobufs/steammessages_inventory.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
import "steammessages_unified_base.proto";

option py_generic_services = true;
Expand Down
1 change: 1 addition & 0 deletions protobufs/steammessages_linkfilter.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
import "steammessages_unified_base.proto";

option py_generic_services = true;
Expand Down
1 change: 1 addition & 0 deletions protobufs/steammessages_offline.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
import "steammessages_unified_base.proto";

option py_generic_services = true;
Expand Down
1 change: 1 addition & 0 deletions protobufs/steammessages_parental.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
import "steammessages_unified_base.proto";

option py_generic_services = true;
Expand Down
1 change: 1 addition & 0 deletions protobufs/steammessages_partnerapps.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
import "steammessages_unified_base.proto";

option py_generic_services = true;
Expand Down
1 change: 1 addition & 0 deletions protobufs/steammessages_physicalgoods.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
import "steammessages_unified_base.proto";

option py_generic_services = true;
Expand Down
1 change: 1 addition & 0 deletions protobufs/steammessages_player.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
import "steammessages_unified_base.proto";

option py_generic_services = true;
Expand Down
1 change: 1 addition & 0 deletions protobufs/steammessages_publishedfile.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
import "steammessages_unified_base.proto";

option py_generic_services = true;
Expand Down
1 change: 1 addition & 0 deletions protobufs/steammessages_secrets.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
import "steammessages_unified_base.proto";

option py_generic_services = true;
Expand Down
1 change: 1 addition & 0 deletions protobufs/steammessages_twofactor.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
import "steammessages_unified_base.proto";

option py_generic_services = true;
Expand Down
1 change: 1 addition & 0 deletions protobufs/steammessages_unified_base.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
import "google/protobuf/descriptor.proto";

option optimize_for = SPEED;
Expand Down
1 change: 1 addition & 0 deletions protobufs/steammessages_unified_test.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
import "steammessages_unified_base.proto";

option py_generic_services = true;
Expand Down
1 change: 1 addition & 0 deletions protobufs/steammessages_video.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
syntax = "proto2";
import "steammessages_unified_base.proto";

option py_generic_services = true;
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ enum34==1.1.2; python_version < '3.4'
gevent==1.1.0
mock==1.3.0
nose==1.3.7
protobuf==2.6.1
protobuf==3.0.0b2
cryptography==1.3
PyYAML==3.11
requests==2.9.1
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
install_extras = {
'client': [
'gevent>=1.1.0',
'protobuf>=2.6.1',
'protobuf>=3.0.0b2',
'gevent-eventemitter>=1.4',
],
}
Expand Down

0 comments on commit 947766a

Please sign in to comment.