Skip to content

Support for automatic uploading to pypi#9

Open
fruch wants to merge 4 commits into
scylladb:masterfrom
fruch:master
Open

Support for automatic uploading to pypi#9
fruch wants to merge 4 commits into
scylladb:masterfrom
fruch:master

Conversation

@fruch
Copy link
Copy Markdown

@fruch fruch commented Aug 6, 2019

need to push a tag into master and a version would be uploaded to pypi

need to enable travis ci for it to work

@fruch
Copy link
Copy Markdown
Author

fruch commented Aug 6, 2019

@denesb do you have pypi account ? so I can add you as an owner for the package ?

@denesb
Copy link
Copy Markdown
Contributor

denesb commented Aug 7, 2019 via email

@fruch
Copy link
Copy Markdown
Author

fruch commented Aug 7, 2019 via email

@denesb
Copy link
Copy Markdown
Contributor

denesb commented Aug 7, 2019

Done. Username: bdenes, Email: dns.botond at gmail dot com.

Comment thread README.md Outdated
pip install -r requirement-dev.txt
pre-commit install

# now each commit you do would fixed by black
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't understand this sentence.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I was me trying to explain yelp's pre-commit, with small success 😭

https://pre-commit.com/

I'll remove this line

Comment thread setup.py
description='Scylla SStable Tools',
packages=['sstable_tools'],
scripts=['sstable-compressioninfo.py', 'sstable-index.py', 'sstable-statistics.py', 'sstable-summary.py'],
name="sstable_tools",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Are these changes done by some automatic formatter?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

yes,
I was using black
https://github.com/psf/black

it was recently adopted by the Python Foundation

Comment thread .pre-commit-config.yaml Outdated
# hooks:
# - id: pylint
# name: pylint27
# language_version: python2.7
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please remove commented code.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I want to also add pylint, but lint is a bit more work, we could do that later, I'll remove those

@denesb
Copy link
Copy Markdown
Contributor

denesb commented Aug 7, 2019

There seems to be another PR (#8) that also adds a licence.

@fruch
Copy link
Copy Markdown
Author

fruch commented Aug 7, 2019

I'll close #8 ( I was using github tool, that automatically suggest a PR... it's nice but not enough)

Copy link
Copy Markdown
Contributor

@denesb denesb left a comment

Choose a reason for hiding this comment

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

I wish the formatting changes were in a separate commit, but I won't insist.

@fruch
Copy link
Copy Markdown
Author

fruch commented Aug 7, 2019

@denesb when we can configure travis ci, release a version is just tagging on master:

git tag v0.0.3
git push --tags

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.

2 participants