Skip to content
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

Move blurb to its own directory #139

Merged
merged 17 commits into from Jun 24, 2017
Merged

Conversation

brettcannon
Copy link
Member

Also set it up for easy uploading to PyPI using flit.

@larryhastings
Copy link
Contributor

Uh, oops. I already moved blurb into its own directory, locally--in my rushing around yesterday I forgot to check it in and upload it. My copy is the basis of what's uploaded to the cheeseshop. Would it be okay if we started with my version instead?

BTW, some changes to cherry-picker got mixed in to your branch.

Copy link
Member

@Mariatta Mariatta left a comment

Choose a reason for hiding this comment

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

Couple comments but otherwise LGTM.

:target: https://travis-ci.org/python/core-workflow

cherry_picker 🐍 🍒 ⛏
-------------------------------
Copy link
Member

Choose a reason for hiding this comment

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

Extra dashes here and in line 28 below.

Copy link
Member Author

Choose a reason for hiding this comment

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

It doesn't matter; reST only cares that the dashes are at least as long the text; this makes sure that I don't have to care if any of those emojis are counted as more than a single letter by reST.

blurb/flit.ini Outdated
description-file = README.rst
classifiers = Intended Audience :: Developers
License :: OSI Approved :: BSD License
Programming Language :: Python :: 3
Copy link
Member

Choose a reason for hiding this comment

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

Should it be specified that blurb uses Python 3.6? (f-strings)

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, I just didn't bother to check blurb to see what version it was restricted to as that's what Larry specified on PyPI.

@brettcannon
Copy link
Member Author

@larryhastings please check in your changes now then and I will tweak as necessary. And I know about the cherry_picker changes sneaking in as I only noticed them as I was fixing things in the README.

@larryhastings
Copy link
Contributor

Pushed.

@brettcannon
Copy link
Member Author

@larryhastings please have another look at the blurb-related changes (I stuck with flit over setuptools since it's just so much easier to work with).

Copy link
Contributor

@larryhastings larryhastings left a comment

Choose a reason for hiding this comment

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

Minor changes and a question

@@ -1,2 +0,0 @@
include LICENSE.txt
include README.rst
Copy link
Contributor

Choose a reason for hiding this comment

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

I added LICENSE.txt and README.rst to the manifest because at one point when I was packaging it complained it didn't have README.rst in the package. I don't know proper MANIFEST.in hygiene, but--why shouldn't they be listed here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Flit uses what's committed in the VCS to determine what goes into the sdist, not the MANIFEST.in file. So basically the file is redundant by moving to flit (which is one of the nice things about the utility).

blurb/blurb.py Outdated
@@ -1,4 +1,6 @@
#!/usr/bin/env python3
"""ommand-line tool to manage CPython Misc/NEWS.d entries."""
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing the first letter, the 'C' in 'Command'

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

blurb/flit.ini Outdated
maintainer = Python Core Developers
maintainer-email = core-workflow@mail.python.org
home-page = https://github.com/python/core-workflow/tree/master/blurb
requires-python = >=3
Copy link
Contributor

Choose a reason for hiding this comment

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

>= 3.6

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

@larryhastings
Copy link
Contributor

LGTM

@brettcannon brettcannon merged commit ea83b58 into python:master Jun 24, 2017
@brettcannon brettcannon deleted the move-blurb branch June 24, 2017 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants