-
Notifications
You must be signed in to change notification settings - Fork 227
Add a setup.py, use it to install Python libs #772
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,5 @@ | ||
| include python/examples/Makefile.mk | ||
| include python/ola/Makefile.mk | ||
|
|
||
| install-exec-local: | ||
| pushd python && python setup.py install && popd |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| #!/usr/bin/env python | ||
|
|
||
| from setuptools import setup | ||
|
|
||
|
|
||
| setup( | ||
| name='ola', | ||
| version='@VERSION@', | ||
| author='Simon Newton', | ||
| author_email='nomis52@gmail.com', | ||
| description='OLA Python client bindings.', | ||
| license='GPL', | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The note for this says the license should only be used when "the license is not a selection from the “License” Trove classifiers. See the Classifier field. Notice that there’s a licence distribution option which is deprecated but still acts as an alias for license.": Either way, the client should be LGPL 2.1 or greater (rather than GPL):
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| url='https://www.openlighting.org', | ||
| packages=['ola', 'ola.rpc'], | ||
| zip_safe=False, | ||
| install_requires=['protobuf>=2.6.1'], | ||
| ) | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SPaG ola
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done