Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Remove need to have protoc available in Python source package. Closes #…
  • Loading branch information
Sean Cribbs committed Apr 19, 2013
commit 337729e21160e0a39399804c3eb756a084146f59
2 changes: 0 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
include proto_cmd.py
include src/*.proto
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ erl_test: erl_compile
# Python specific build steps
python_compile:
@echo "==> Python (compile)"
@protoc -Isrc --python_out=riak_pb src/*.proto
@./setup.py build

python_clean:
@echo "==> Python (clean)"
@rm -f riak_pb/*_pb2.py
@./setup.py clean

python_release: python_compile
Expand Down
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,5 @@
classifiers=['License :: OSI Approved :: Apache Software License',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Topic :: Database'],
cmdclass={'build_proto': build_proto,
'clean': clean_proto}
'Topic :: Database']
)