Skip to content

modernize packaging #45

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

Merged

Conversation

dhellmann
Copy link
Contributor

@dhellmann dhellmann commented Feb 11, 2023

  • Replace pbr with setuptools, setuptools_scm, and build.
  • Move most of the packaging settings into pyproject.toml.
  • Update tox settings to reflect packaging changes.
  • Update documentation build version detection.
  • Update documentation for entry points now that setup.cfg is removed.
  • Ensure the tests use the installed version of the wrappers instead of the one from the cloned source.
  • Switch to manually maintained changelog in the docs.

Fixes #33
Addresses #34
Addresses #36

@mergify mergify bot added the CI changes to tox or GitHub action config label Feb 11, 2023
@dhellmann dhellmann force-pushed the 33-modernize-packaging branch from 97c4363 to 159b5bb Compare February 11, 2023 15:10
@mergify mergify bot added the documentation Improvements or additions to documentation label Feb 11, 2023
@dhellmann dhellmann changed the title modernize packaging WIP: modernize packaging Feb 11, 2023
@dhellmann dhellmann force-pushed the 33-modernize-packaging branch 2 times, most recently from b5a4a6e to 63ca657 Compare February 11, 2023 16:15
- Replace pbr with setuptools, setuptools_scm, and build.
- Move most of the packaging settings into pyproject.toml.
- Update tox settings to reflect packaging changes.
- Update documentation build version detection.
- Update documentation for entry points now that setup.cfg is removed.

Fixes python-virtualenvwrapper#33
Addresses python-virtualenvwrapper#34
The tests were always running the local source copy of
virtualenvwrapper.sh, which does not ensure we are packaging and
installing that file properly. This commit changes the logic for
loading the wrappers so when the job is running under tox we always
look in the virtualenv's bin directory.
We will want something nicer, but without pbr we don't get this
generated content for free so this commit initializes the static
content.

Addresses python-virtualenvwrapper#36
@dhellmann dhellmann force-pushed the 33-modernize-packaging branch from 6e4beca to 2fe0f73 Compare February 11, 2023 16:32
@dhellmann dhellmann changed the title WIP: modernize packaging modernize packaging Feb 11, 2023
@dhellmann
Copy link
Contributor Author

@jasonamyers I think this is ready for review.

@mergify mergify bot merged commit 6713c70 into python-virtualenvwrapper:main Feb 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI changes to tox or GitHub action config documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

modernize requirements management
2 participants