Skip to content

Conversation

@noahp
Copy link

@noahp noahp commented Oct 21, 2020

Swap out scripts for entrypoints to ensure executable flag is properly
set when installing from wheel, and hashbang is correct for whatever
virtualenv/pipenv/etc the user might be user (instead of hardcoded to
/usr/bin/python and relying on script rewrite magic to fix it).

Fix a deprecation notice for setup.cfg.

Note: moving scripts to intelhex/scripts means that the scripts
cannot be run as-is from their position in the file system. Recommended
approach when developing a package is to pip install -e . install in
editable mode and work from there.

Swap out `scripts` for entrypoints to ensure executable flag is properly
set when installing from wheel, and hashbang is correct for whatever
virtualenv/pipenv/etc the user might be user (instead of hardcoded to
`/usr/bin/python` and relying on `script` rewrite magic to fix it).

Fix a deprecation notice for setup.cfg.

_Note: moving `scripts` to `intelhex/scripts` means that the scripts
cannot be run as-is from their position in the file system. Recommended
approach when developing a package is to `pip install -e .` install in
editable mode and work from there._
@The-42 The-42 self-assigned this Oct 27, 2020
@The-42
Copy link
Collaborator

The-42 commented Oct 27, 2020

Look good to me, will have to look into side effects regarding our current test and release procedure though before merging this.

@The-42 The-42 merged commit f3db028 into python-intelhex:master Jun 6, 2021
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.

2 participants