-
Notifications
You must be signed in to change notification settings - Fork 36
Updating description and adding long description #124
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
Conversation
setup.py
Outdated
@@ -20,7 +20,11 @@ | |||
setup( | |||
name='optimizely-sdk', | |||
version=__version__, | |||
description="SDK for Optimizely's Full Stack Python project.", | |||
description='Python SDK for Optimizely X Full Stack.', | |||
long_description='Optimizely X Full Stack is A/B testing and feature management for product development teams. ' |
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.
A more standard approach to this is to set the value of long_description
to the contents of a README.md
(or similar) prepended to the contents of the CHANGELOG.md
(or similar).
e.g.
with open('README.md') as _file:
README = _file.read()
with open('CHANGELOG.md') as _file:
CHANGELOG = _file.read()
setup(
...
long_description=README + '\n\n# Change Log: \n' + CHANGELOG
...
)
Any thoughts?
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.
Yeah i noticed that in some implementations.
How about we do the message mentioned here + README + CHANGELOG?
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.
SGTM
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.
Don't forget to add those files in the MANIFEST.in
so they're included in the package distribution. Installs will fail if without them.
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.
Good call. Need README there.
f7cd53b
to
e0f8c0f
Compare
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.
I'm no pythonista but if it seems to work, 👍
setup.py
Outdated
about_text = 'Optimizely X Full Stack is A/B testing and feature management for product development teams. ' \ | ||
'Experiment in any application. Make every feature on your roadmap an opportunity to learn. ' \ | ||
'Learn more at https://www.optimizely.com/products/full-stack/ or see our documentation at ' \ | ||
'https://developers.optimizely.com/x/solutions/sdks/reference/index.html?language=python' |
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.
nit: maybe a period at the end?
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.
Good call. Will add.
## Summary - Add the same Full Stack description to the top of the READMEs here that @jonslaught advised to for python-sdk in optimizely/python-sdk#124 - Clarify Lerna usage: no multiple packages, for now - Fix stale package name in root readme, and fix the NPM badge that also was based on it - Add badges to `@optimizely/optimizely-sdk`'s README - Precisely document supported JavaScript environments - Add note about default `EventDispatcher`s. (I have mixed feelings on this; happy to hear opinions) - Make `Contributing` section more concise - Drop references to `dist/` artifacts, since #135 made them no longer a thing [Rendered](https://github.com/optimizely/javascript-sdk/blob/sw/readme/packages/optimizely-sdk/README.md)
No description provided.