Skip to content

Conversation

@nicolaskruchten
Copy link
Contributor

No description provided.

project_urls={"Github": "https://github.com/plotly/plotly.py"},
description="An open-source, interactive graphing library for Python",
long_description=readme(),
long_description_content_type="text/markdown",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This enables us to use Markdown

long_description_content_type="text/markdown",
classifiers=[
'Development Status :: 4 - Beta',
'Development Status :: 5 - Production/Stable',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think we're there!

url='https://plot.ly/python/',
description="Python plotting library for collaborative, "
"interactive, publication-quality graphs.",
project_urls={"Github": "https://github.com/plotly/plotly.py"},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This just gets a bit more metadata on the PyPI page to show up automatically


def readme():
with open('README.rst') as f:
with open('README.md') as f:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is what's on Github by default and is much more up to date than the one on PyPI

@@ -1,5 +1,5 @@
[metadata]
description-file = README.rst
description-file = README.md
Copy link
Contributor Author

Choose a reason for hiding this comment

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

unsure about the impact of this...

setup.py Outdated
use_2to3=False,
author='Chris P',
author_email='chris@plot.ly',
maintainer='Chris P',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We should consider making this @jonmmease

Copy link
Contributor

@jonmmease jonmmease left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks for the cleanup @nicolaskruchten

@jonmmease jonmmease merged commit 5f27aec into master Apr 10, 2019
@nicolaskruchten
Copy link
Contributor Author

Might be worth a push to test.pypi.org first to check that the formatting etc looks good?

@nicolaskruchten nicolaskruchten deleted the setup_meta_cleanup branch June 19, 2020 16:14
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.

3 participants