Skip to content

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

Merged
merged 3 commits into from
Jun 13, 2018

Conversation

aliabbasrizvi
Copy link
Contributor

No description provided.

@aliabbasrizvi aliabbasrizvi requested review from a team and mikeproeng37 June 4, 2018 19:11
@coveralls
Copy link

coveralls commented Jun 4, 2018

Coverage Status

Coverage decreased (-0.2%) to 99.649% when pulling 5dd8b0d on ali/update_description into 3af8d3f on master.

@aliabbasrizvi aliabbasrizvi requested a review from amilstead June 5, 2018 16:58
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. '
Copy link
Contributor

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?

Copy link
Contributor Author

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?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM

Copy link
Contributor

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.

Copy link
Contributor Author

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.

@aliabbasrizvi aliabbasrizvi force-pushed the ali/update_description branch from f7cd53b to e0f8c0f Compare June 8, 2018 22:01
Copy link
Contributor

@spencerwilson-optimizely spencerwilson-optimizely left a 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'
Copy link
Contributor

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call. Will add.

@aliabbasrizvi aliabbasrizvi merged commit 29515fa into master Jun 13, 2018
@aliabbasrizvi aliabbasrizvi deleted the ali/update_description branch June 13, 2018 20:17
spencerwilson-optimizely added a commit to optimizely/javascript-sdk that referenced this pull request Jul 3, 2018
## 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants