Update to latest practices in packaging. by WizzyGeek · Pull Request #8 · dbarnett/python-helloworld · GitHub
Skip to content

Update to latest practices in packaging.#8

Closed
WizzyGeek wants to merge 34 commits into
dbarnett:masterfrom
WizzyGeek:python3
Closed

Update to latest practices in packaging.#8
WizzyGeek wants to merge 34 commits into
dbarnett:masterfrom
WizzyGeek:python3

Conversation

@WizzyGeek

Copy link
Copy Markdown

Changes


  • updated README with slight change of vocabulary

  • took inspiration from the open pull requests

  • changed the version to 0.2

  • added docstrings no specific format was followed for them.

Changes that should be considered

  1. Attach license.txt

Python3(print_func)and other python best practices.
updated the shebang line
changed the version
docstring ,encoding ,seper!ted module and built in imports
removed typo and changed a bit of vocab
Had forgotten the shebang
@WizzyGeek

Copy link
Copy Markdown
Author

Added repl
@dbarnett

Copy link
Copy Markdown
Owner

Let me know when it's ready for another look. Looked like there were some typos and testing changes in there still.

Were you able to confirm the basic setup.py commands work using distutils?

@WizzyGeek

Copy link
Copy Markdown
Author

Yah I will let you know

WizzyGeek and others added 13 commits January 23, 2020 12:12
minor changes
This pull request configures this repository to be run on Repl.it.      It adds a `.replit` configuration file and a Repl.it badge to the `README`.
     You can read more about running repos on Repl.it [here](https://docs.repl.it/repls/dot-replit), or view the Repl [here](https://repl.it/@TEENBOOM/python-helloworld-1).
Add run on repl.it badge to README
@WizzyGeek

Copy link
Copy Markdown
Author

i think i have removed all typos?

@WizzyGeek

Copy link
Copy Markdown
Author

let me know if you find some, please.

@WizzyGeek

Copy link
Copy Markdown
Author

disutils.py doesn't have dependency_links, install_requires, extras_require & entry_points.
so you might want to use setuptools instead.

@WizzyGeek

WizzyGeek commented Jan 23, 2020

Copy link
Copy Markdown
Author

disutils doesn't work

switched to setuptools and added long description
added LICENSE

@dbarnett dbarnett left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Some of these were older "Pending" comments I apparently forgot to send. Sorry for the drawn-out review.

Comment thread README Outdated
Comment thread helloworld/main.py Outdated
Comment thread LICENSE Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread helloworld/main.py Outdated
Comment thread setup.py Outdated
Comment thread setup.py Outdated
Comment thread setup.py Outdated
@WizzyGeek

Copy link
Copy Markdown
Author

It's done

@WizzyGeek

Copy link
Copy Markdown
Author

You may verify the changes

@dbarnett

Copy link
Copy Markdown
Owner

Can you pull and rebase from the master branch, after commit 66a0101 and #11? I might be misreading the diff, but it looks like you have some changes to the same files that will conflict.

Apologies for the merge conflicts. A lot of files changed in this PR to conflict. BTW, I'll tend to get to smaller single-purpose PRs much quicker just because GitHub makes little uncontroversial PRs easy to quickly approve and merge (from my phone even). For more involved reviews I have to find time to break out the laptop and do a bunch of commenting. Either way, thanks for contributing!

@WizzyGeek

Copy link
Copy Markdown
Author

I will do it but I have exams rn, so I am taking some time off of coding.might take 1 month.

@WizzyGeek

WizzyGeek commented Feb 14, 2020

Copy link
Copy Markdown
Author

Actually it's not that big I will see if I can do it in middle of the exams.

@WizzyGeek

Copy link
Copy Markdown
Author

BTW the license is not valid

@WizzyGeek

Copy link
Copy Markdown
Author

i will start an issue for that.

Comment thread setup.py Outdated
Comment thread README.md Outdated
added single line code block and removed <br>
url corrected
@dbarnett

Copy link
Copy Markdown
Owner

Changes look good to me. Consider changing the PR title since it's no longer about python 3.x, and either way I'll merge it later today.

@WizzyGeek WizzyGeek changed the title Python best practices and upgrade to python 3.x Upa Mar 30, 2020
@WizzyGeek WizzyGeek changed the title Upa Update to latest practices in packaging. Mar 30, 2020
@WizzyGeek

WizzyGeek commented Mar 30, 2020

Copy link
Copy Markdown
Author

Two question. I am using substantial amount of code (some of it is not modified)from this repo, so do I need to attach your copyright?

2.why are there two version.txt files?

@dbarnett

dbarnett commented Mar 30, 2020

Copy link
Copy Markdown
Owner

@WizzyGeek WizzyGeek closed this Sep 26, 2023
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