Simplify pip packaging and remove cruft files#79
Open
Boruch-Baum wants to merge 1 commit intoideasman42:mainfrom
Open
Simplify pip packaging and remove cruft files#79Boruch-Baum wants to merge 1 commit intoideasman42:mainfrom
Boruch-Baum wants to merge 1 commit intoideasman42:mainfrom
Conversation
+ file setup.py had been placing the following files and directories
in improper places as follows:
+ installed directory doc to ~/.local/lib/python3.10/site-packages/
+ installed executable nerd-dictation to
~/.local/lib/python3.10/site-packages/
+ installed directory nerd-dictation to ~/.local/lib/
+ installed executable and readme.rst to ~/.local/nerd-dictation/
+ file setup.py had NOT been performing the following:
+ installing directory doc to ~/.local/share/doc/nerd-dictation
+ installing documentation beyond readme.rst
+ installing example nerd-dictation.py files
+ installing executable nerd-dictation to ~/.local/bin
+ file setup.py suffered from needless complexity due to being placed
in a sub folder instead of the based directory as is standard and
expected practice
+ file pyproject.toml did not contain the minimum content as
prescribed by package setuptools' documentation
+ this file exists only for the purpose of setuptools, so it was
incongruous that it existed as it should, in the package root directory,
even though the setup.py script to actually run setuptools was
hidden in a sub-sub-folder.
+ a config file nerd-dictation.py is described as default, but had not been
installed by default, so it wasn't really the default.
Owner
|
Hi thanks for the PR. Changes/improvements to setup.py are welcome, but please leave it in it's current location. |
Author
|
The changes won't work unless the file is moved. That's a central point
of the PR: the file is placed counter to the design, instruction, and
expectations of python 'setuptools'. It's also inconsistent with the
pyrproject.toml file, which *IS* in the correct location per 'setuptools'.
…On2023-01-23 16:34, Campbell Barton wrote:
Hi thanks for the PR. Changes/improvements to setup.py are welcome, but
please leave it in it's current location.
—
Reply to this email directly, [1]view it on GitHub, or [2]unsubscribe.
You are receiving this because you authored the thread. Message ID:
***@***.***>
References
1. #79 (comment)
2. https://github.com/notifications/unsubscribe-auth/AAOE3KBGUF62ITGTORRTKMDWT4PQBANCNFSM6AAAAAAT74ALIM
--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0
|
Owner
|
In this case I rather leave it as is. If there are mistakes or problems with |
ideasman42
requested changes
Feb 15, 2023
Owner
ideasman42
left a comment
There was a problem hiding this comment.
Corrections to packaging should be split out from moving files to different location.
13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi! I'm writing this pull request using nerd dictation. Last week, I had
surgery and have not been able to type with both hands so I looked for
an application like this and installed it. In the course of installing
I observed a few things that I could contribute and hence this pull
request. Thanks very much for putting this together; I hope
this contribution will be helpful; I have a few other ideas that I
can also potentially contribute.
My operating environment is Debian, using python 3.10. The following
is the default boilerplate that magit produced for me:
file setup.py had been placing the following files and directories
in improper places as follows:
installed directory doc to ~/.local/lib/python3.10/site-packages/
installed executable nerd-dictation to
~/.local/lib/python3.10/site-packages/
installed directory nerd-dictation to ~/.local/lib/
installed executable and readme.rst to ~/.local/nerd-dictation/
file setup.py had NOT been performing the following:
installing directory doc to ~/.local/share/doc/nerd-dictation
installing documentation beyond readme.rst
installing example nerd-dictation.py files
installing executable nerd-dictation to ~/.local/bin
file setup.py suffered from needless complexity due to being placed
in a sub folder instead of the based directory as is standard and
expected practice
file pyproject.toml did not contain the minimum content as
prescribed by package setuptools' documentation
incongruous that it existed as it should, in the package root directory,
even though the setup.py script to actually run setuptools was
hidden in a sub-sub-folder.
a config file nerd-dictation.py is described as default, but had not been
installed by default, so it wasn't really the default.