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

Support for automatic uploading to pypi #9

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

fruch
Copy link

@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
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
Contributor

denesb commented Aug 7, 2019 via email

@fruch
Copy link
Author

fruch commented Aug 7, 2019 via email

@denesb
Copy link
Contributor

denesb commented Aug 7, 2019

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

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

# now each commit you do would fixed by black
Copy link
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
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

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
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
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

# hooks:
# - id: pylint
# name: pylint27
# language_version: python2.7
Copy link
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
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
Contributor

denesb commented Aug 7, 2019

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

@fruch
Copy link
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
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
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