Skip to content

Instantly share code, notes, and snippets.

@bobvanderlinden
Last active August 29, 2015 14:27
Show Gist options
  • Save bobvanderlinden/0246fa6d76c6efc045f7 to your computer and use it in GitHub Desktop.
Save bobvanderlinden/0246fa6d76c6efc045f7 to your computer and use it in GitHub Desktop.
machinetalk-protobuf setup.py
#!/usr/bin/env python
from distutils.core import setup
setup(name="machinetalk-protobuf",
version="1.0",
description="Protobuf Python modules for Machinetalk",
url="https://github.com/machinekit/machinetalk-protobuf",
# TODO: Get this into a named package (machinetalk_protobuf)
# so that the modules (like message_pb2) aren't installed as global modules.
# Installing them as global modules might conflict with other Python packages.
#packages=["machinetalk_protobuf"],
#package_dir={"machinetalk_protobuf": "python"}
# For now use the package name "" (global namespace) and set the directory to "python",
# where the generated protobuf files will be.
package_dir={"": "python"}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment